xuekang
2024-05-13 15a0280ae9e7db96fdf0744c722d214d2cb5a0e5
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
//package com.nuvole.four.client;
//
//import com.nuvole.base.domain.BaseGlobalConfig;
//import com.nuvole.base.domain.SysArea;
//import com.nuvole.base.domain.SysOrg;
//import com.nuvole.base.domain.SysUser;
//import com.nuvole.common.domain.result.CommonResult;
//import com.nuvole.common.domain.result.PageBean;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.stereotype.Component;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import java.util.List;
//import java.util.Map;
//
///**
// * 调用base
// *
// * @Author: lc
// * @Date: 2019/5/22 10:18
// */
//@Component
//@FeignClient(value = "service-base", fallbackFactory = BaseClientFallbackFactory.class)
//public interface BaseServiceClient {
//    /**
//     * 根据机构编号查询机构信息
//     *
//     * @author zxc
//     * @Date 2019/6/4 11:27
//     **/
//    @GetMapping("/v1/base/pc/org/getOrgByCode")
//    CommonResult getOrgByCode(@RequestParam("code") String code);
//
//    @GetMapping("/v1/base/pc/org/getOrgByCode2")
//    CommonResult getOrgByCode2(@RequestParam("code") String code);
//
//    @GetMapping("/v1/base/pc/org/getOrgAndParentByCode")
//    CommonResult getOrgAndParentByCode(@RequestParam("code") String code);
//
//    /**
//     * Createed by PKZ
//     * Date 2019/6/17 16:15
//     * Description:根据user_org_code查询机构信息
//     **/
//    @GetMapping("/v1/base/pc/org/getOrgByUserCode")
//    CommonResult getOrgByUserCode(@RequestParam("code") String code);
//
//    @GetMapping("/v1/base/pc/sysUser/getAllManagerByOrgCode")
//    CommonResult<String> getAllManagerByOrgCode(@RequestParam("orgCode") String orgCode);
//
//    @GetMapping("/v1/base/pc/sysUser/getAllManagerInfoByOrgCode")
//    CommonResult<List<Map>> getAllManagerInfoByOrgCode(@RequestParam("orgCode") String orgCode);
//
//    /**
//     * Createed by PKZ
//     * Date 2019/6/17 16:15
//     * Description:根据user_code查询客户经理信息
//     **/
//    @GetMapping("/v1/base/pc/sysUser/getUserByCode")
//    CommonResult getUserByCode(@RequestParam("code") String code);
//
//    @GetMapping("/v1/base/pc/sysUser/getManagerInfoByCode")
//    CommonResult getManagerInfoByCode(@RequestParam("code") String code);
//
//    @GetMapping("/v1/base/pc/sysUser/selectAllByOrgId")
//    CommonResult<PageBean<SysUser>> selectAllByOrgId(@RequestParam("org_id") Long org_id,
//                                                     @RequestParam("user_type") Short user_type,
//                                                     @RequestParam("pageNumber") Integer pageNumber,
//                                                     @RequestParam("pageSize") Integer pageSize,
//                                                     @RequestParam("state") Integer state);
//
//    /**
//     * Createed by PKZ
//     * Date 2019/6/17 16:15
//     * Description:根据user_id查询客户经理信息
//     **/
//    @GetMapping("/v1/base/pc/sysUser/getUserById")
//    CommonResult getUserById(@RequestParam("id") Long id);
//
//    /**
//     * @param id
//     * @return
//     * @Description 根据user_id查询客户经理信息
//     */
//    @GetMapping("/v1/base/pc/sysUser/getManagerInfoById")
//    CommonResult<Map> getManagerInfoById(@RequestParam("id") Long id);
//
//    /**
//     * Createed by PKZ
//     * Date 2019/6/17 16:15
//     * Description:根据pid查询机构列表
//     **/
//    @GetMapping("/v1/base/pc/org/getOrgList")
//    CommonResult<List<SysOrg>> getOrgList(@RequestParam("pid") Long pid, @RequestParam("state") Integer state);
//
//    @GetMapping("/v1/base/pc/org/getFullOrgName")
//    /**
//     * 查询机构全名
//     */
//    CommonResult<String> getFullOrgName(@RequestParam("id") Long id, @RequestParam("orgCode") String orgCode, @RequestParam("userOrgCode") String userOrgCode);
//
//    @GetMapping("/v1/base/pc/org/getBranchByOrgCode")
//    CommonResult<PageBean<Map>> getBranchByOrgCode(
//            @RequestParam("code") String code, @RequestParam("keyText") String keyText,
//            @RequestParam("userType") Short userType,
//            @RequestParam("pageNumber") Integer pageNumber,
//            @RequestParam("pageSize") Integer pageSize);
//
//    /**
//     * 查询第二级区域列表
//     *
//     * @author zxc
//     * @Date 2019/7/13 17:38
//     **/
//    @GetMapping("/v1/base/pc/area/getAreaZtreeList")
//    CommonResult getCityList();
//
//    /**
//     * 根据机构id查询区域信息
//     *
//     * @author zxc
//     * @Date 2019/6/4 11:27
//     **/
//    @GetMapping("/v1/base/pc/area/getAreaByOrgId")
//    CommonResult getAreaByOrgId(@RequestParam("orgId") Long orgId);
//
//    /**
//     * 根据机构id查询机构信息
//     *
//     * @author tang
//     */
//    @GetMapping("/v1/base/pc/org/getOrgMapByLogin")
//    List<SysOrg> getOrgMapByLogin(@RequestParam("orgId") Long orgId, @RequestParam("orgLv") Integer orgLv);
//
//    @GetMapping("/v1/base/pc/sysUser/getUserInfoById")
//    SysUser getUserInfoById(@RequestParam("id") Long id);
//
//    @GetMapping("/v1/base/pc/sysUser/getUserInfoByName")
//    SysUser getUserInfoByName(@RequestParam("name") String name);
//
//    /**
//     * 根据org——code获取机构等级
//     *
//     * @param orgCode
//     * @return
//     */
//    @GetMapping("/v1/base/pc/org/getOrgLvByOrgCode")
//    int getOrgLvByOrgCode(@RequestParam("orgCode") String orgCode);
//
//    /**
//     * 根据id获取机构
//     *
//     * @param orgId
//     * @return
//     */
//    @GetMapping("/v1/base/pc/org/get")
//    CommonResult getOrgById(@RequestParam("id") Long orgId);
//
//
//    @GetMapping("/v1/base/pc/org/getSjOrgId")
//    Long getSjOrgId(@RequestParam("orgId") Long orgId, @RequestParam("lv") Integer orgLv);
//
//
//    /**
//     * 查询省级机构信息
//     *
//     * @Author: lc
//     * @Date: 2019/8/28 18:56
//     */
//    @GetMapping("/v1/base/pc/org/getSjOrgInfo")
//    CommonResult<SysOrg> getSjOrgInfo();
//
//    /**
//     * 根据支局机构编号查询市级区域信息
//     *
//     * @param orgCode
//     * @return
//     */
//    @GetMapping("/v1/base/pc/area/getAreaByOrgCode")
//    SysArea getAreaByOrgCode(@RequestParam("orgCode") String orgCode);
//
//    @GetMapping("/v1/base/pc/org/getInfoByOrgCode")
//    CommonResult<List<SysOrg>> getInfoByOrgCode(@RequestParam("orgCode") String orgCode);
//
//
//    /**
//     * 查询所有市级机构编号 和 对应区域名称的 关联
//     *
//     * @author zxc
//     * @date 2020/1/10 11:25
//     **/
//    @GetMapping("/v1/base/pc/org/getSjOrgCodeAreaNameRef")
//    CommonResult<List<Map>> getSjOrgCodeAreaNameRef();
//
//
//    /**
//     * 获取县区机构信息
//     *
//     * @return
//     */
//    @GetMapping("/v1/base/pc/org/getXqOrg")
//    CommonResult<List<Map>> getXjOrg();
//
//
//    /**
//     * 根据数据字典key和数据名 查询
//     *
//     * @author zxc
//     * @date 2019/12/13 16:42
//     **/
//    @GetMapping("/v1/base/pc/dic/getByDicCodeAndDicKey")
//    CommonResult<Map> getByDicCodeAndDicKey(@RequestParam("dicCode") String dicCode, @RequestParam("dicKey") String dicKey);
//
//    @GetMapping("/v1/base/pc/dic/getDicTree")
//    CommonResult<List<Map>> getDicTree(@RequestParam("dicCode") String dicCode, @RequestParam("state") Integer state);
//
//
//    @GetMapping("/v1/base/pc/org/getOrgCodeCache")
//    CommonResult<List<Map>> getOrgCodeCache();
//
//    @GetMapping("/v1/base/pc/org/getAllOrgFullName")
//    CommonResult<Map> getAllOrgFullName();
//
//    /**
//     * 判断查询的银行卡是否允许绑定
//     *
//     * @param cardNum
//     * @return
//     */
//    @GetMapping("/v1/base/pc/bankCardPeriod/isContain")
//    CommonResult<Boolean> cardIsContain(@RequestParam("cardNum") String cardNum);
//
//    @GetMapping("/v1/base/pc/global/config/getConfigList")
//    CommonResult<List<BaseGlobalConfig>> getConfigList(@RequestParam("globalCode") String globalCode, @RequestParam("matchModel") Short matchModel);
//
//    @PostMapping("/v1/base/pc/global/config/save")
//    CommonResult<List<BaseGlobalConfig>> save(@RequestBody String configList);
//
//
//}