ny
23 小时以前 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
package jnpf.permission.fallback;
 
import jnpf.base.ActionResult;
import jnpf.base.Pagination;
import jnpf.exception.DataException;
import jnpf.permission.UserApi;
import jnpf.permission.entity.UserEntity;
import jnpf.permission.model.SystemParamModel;
import jnpf.permission.model.user.*;
import jnpf.permission.model.user.mod.UserIdModelByPage;
import jnpf.permission.model.user.vo.BaseInfoVo;
import jnpf.permission.model.user.vo.UserByRoleVO;
import jnpf.permission.model.user.vo.UserInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.*;
 
/**
 * 获取用户信息Api降级处理
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
 * @date 2021-03-24
 */
@Component
@Slf4j
public class UserApiFallback implements UserApi {
 
    @Override
    public List<UserEntity> getUserName(List<String> id) {
        return new ArrayList<>();
    }
 
    @Override
    public List<UserEntity> getUserNamePagination(UserModel userModel) {
        return new ArrayList<>();
    }
 
    @Override
    public ActionResult<UserInfoVO> getInfo(String id) throws DataException {
        return null;
    }
 
    @Override
    public List<String> getListId() {
        return new ArrayList<>();
    }
 
    @Override
    public UserEntity getInfoByAccount(UserInfoModel userInfoModel) {
        return null;
    }
 
    @Override
    public UserEntity getInfoByUserId(UserInfoModel userInfoModel) {
        return null;
    }
 
    @Override
    public Boolean updateById(UserUpdateModel userUpdateModel) {
        return false;
    }
 
    @Override
    public Boolean update(String id, UserEntity entity) {
        return false;
    }
 
    @Override
    public UserEntity getInfoByAccount(String account) {
        return null;
    }
 
    @Override
    public UserEntity getInfoById(String id) {
        return null;
    }
 
    @Override
    public UserEntity getInfoByIdInMessage(String id) {
        return new UserEntity();
    }
 
    @Override
    public List<UserEntity> getListByManagerId(String id) {
        return new ArrayList<>();
    }
 
    @Override
    public List<UserEntity> getList(boolean enabledMark) {
        return new ArrayList<>();
    }
 
    @Override
    public List<UserEntity> getAdminList() {
        return new ArrayList<>();
    }
 
    @Override
    public Boolean setAdminListByIds(List<String> adminIds) {
        return false;
    }
 
    @Override
    public UserEntity getByRealName(String fullName) {
        return null;
    }
 
    @Override
    public Boolean updateUserById(UserEntity userEntity) {
        return false;
    }
 
    @Override
    public Map<String, Object> getUserMap(String type) {
        return new HashMap<>();
    }
 
    @Override
    public UserEntity getInfoByMobile(String mobile) {
        return null;
    }
 
    @Override
    public Boolean create(UserEntity userEntity) {
        return false;
    }
 
    @Override
    public void delete(UserEntity userEntity) {
 
    }
 
    @Override
    public List<String> getUserIdList(List<String> userIds) {
        return new ArrayList<>();
    }
 
    @Override
    public List<BaseInfoVo> selectedByIds(List<String> ids) {
        return Collections.EMPTY_LIST;
    }
 
    @Override
    public List<UserEntity> getUserNameMark(List<String> id) {
        return new ArrayList<>();
    }
 
    @Override
    public List<BaseInfoVo> getObjList(UserIdModelByPage objListModel) {
        return new ArrayList<>();
    }
 
    @Override
    public List<String> getIdsByAccounts(List<String> accounts) {
        return new ArrayList<>();
    }
 
    @Override
    public List<UserEntity> getUserPage(Pagination pagination) {
        return null;
    }
 
    @Override
    public Map<String, String> getSystemFieldValue(SystemParamModel model) {
        return new HashMap<>();
    }
 
    @Override
    public List<UserEntity> getListByOrgIds(List<String> collect) {
        return new ArrayList<>();
    }
 
    @Override
    public UserEntity getUserByMobile(String dingMobile) {
        return null;
    }
 
    @Override
    public List<UserEntity> page(UserSystemCountModel userSystemCountModel) {
        return null;
    }
 
    @Override
    public UserRelationIds getUserObjectIdList(@RequestParam String userId) {
        return null;
    }
 
    @Override
    public Boolean logoutUser(@RequestParam("message") String message,@RequestBody List<String> userIds){
        return false;
    }
}