提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.phis; |
7c680b
|
2 |
|
C |
3 |
import com.hx.resultTool.Result; |
7737d7
|
4 |
import com.hz.his.dto.user.*; |
f5bce1
|
5 |
import com.hz.his.dto.user.card.UserCardDto; |
F |
6 |
import com.hz.his.dto.user.card.UserCardUsedDto; |
400fc4
|
7 |
import com.hz.his.dto.user.coupon.GoodsUsedCouponDto; |
W |
8 |
import com.hz.his.dto.user.coupon.OrderCanUseCouponDto; |
|
9 |
import com.hz.his.dto.user.coupon.UserCanUseCouponDto; |
|
10 |
import com.hz.his.dto.user.coupon.UserCouponDto; |
f5bce1
|
11 |
import com.hz.his.dto.user.label.UserLabelDto; |
400fc4
|
12 |
import com.hz.his.dto.user.money.*; |
a795ef
|
13 |
import com.hz.his.dto.user.packages.UserPhisPackageDto; |
f5bce1
|
14 |
import com.hz.his.dto.user.project.UserProjectDto; |
F |
15 |
import com.hz.his.dto.user.project.UserProjectUsedDto; |
60bd8c
|
16 |
import com.hz.his.dto.user.promotion.UserPromotionUsedDto; |
7c680b
|
17 |
import org.springframework.cloud.openfeign.FeignClient; |
C |
18 |
import org.springframework.web.bind.annotation.PostMapping; |
|
19 |
import org.springframework.web.bind.annotation.RequestBody; |
|
20 |
import org.springframework.web.bind.annotation.RequestParam; |
|
21 |
|
aa92a2
|
22 |
import java.util.List; |
F |
23 |
|
7c680b
|
24 |
/** |
C |
25 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
26 |
*/ |
|
27 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "user") |
|
28 |
public interface SUserService { |
|
29 |
|
|
30 |
/** |
deb9ce
|
31 |
* 查询用户列表 |
7c680b
|
32 |
* */ |
deb9ce
|
33 |
@PostMapping(value = "/user/list") |
F |
34 |
Result userList(@RequestBody UserDto userDto); |
7c680b
|
35 |
|
C |
36 |
/** |
6fd03e
|
37 |
* 查询用户标识列表 |
F |
38 |
* */ |
|
39 |
@PostMapping(value = "/user/list/ids") |
|
40 |
Result userIdList(@RequestBody UserDto userDto); |
|
41 |
|
|
42 |
/** |
7c680b
|
43 |
* 获取到用户详情 |
deb9ce
|
44 |
* @param userId 用户标识 |
74caeb
|
45 |
* @return 转化使用UserDt |
7c680b
|
46 |
*/ |
C |
47 |
@PostMapping(value = "/user/info") |
|
48 |
Result userInfo(@RequestParam("userId") String userId); |
74caeb
|
49 |
|
C |
50 |
/** |
deb9ce
|
51 |
* 获取用户资金信息 |
74caeb
|
52 |
* */ |
deb9ce
|
53 |
@PostMapping(value = "/user/money/info") |
F |
54 |
Result userMoneyInfo(@RequestParam("userId") String userId); |
7c680b
|
55 |
|
C |
56 |
/** |
|
57 |
* 获取用户项目 |
|
58 |
*/ |
|
59 |
@PostMapping(value = "/user/project/list") |
f5bce1
|
60 |
Result userProject(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
61 |
|
C |
62 |
/** |
|
63 |
* 获取用户子项目 |
|
64 |
*/ |
|
65 |
@PostMapping(value = "/user/project/item/list") |
f5bce1
|
66 |
Result userProjectItem(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
67 |
|
C |
68 |
/** |
|
69 |
* 获取用户子项目使用记录 |
|
70 |
*/ |
|
71 |
@PostMapping(value = "/user/project/used") |
f5bce1
|
72 |
Result userProjectUsed(@RequestBody UserProjectUsedDto userProjectUsedDto); |
7c680b
|
73 |
|
C |
74 |
|
|
75 |
/** |
|
76 |
* 获取用户卡包 |
|
77 |
*/ |
|
78 |
@PostMapping(value = "/user/card") |
f5bce1
|
79 |
Result userCard(@RequestBody UserCardDto userCardDto); |
7c680b
|
80 |
|
863ca8
|
81 |
|
F |
82 |
/** |
|
83 |
* 获取用户的卡项的详情 |
|
84 |
* @param cardId 卡包标识 |
|
85 |
* @return Result |
|
86 |
*/ |
|
87 |
@PostMapping(value = "/userCard/detail") |
|
88 |
Result getUserCardDetail(@RequestParam("cardId") String cardId); |
|
89 |
|
7c680b
|
90 |
/** |
C |
91 |
* 获取用户卡包使用记录 |
|
92 |
*/ |
|
93 |
@PostMapping(value = "/user/card/used") |
f5bce1
|
94 |
Result userCardUsed(@RequestBody UserCardUsedDto userCardUsedDto); |
7c680b
|
95 |
|
C |
96 |
|
|
97 |
/** |
|
98 |
* 获取用户促销使用记录 |
|
99 |
* */ |
|
100 |
@PostMapping(value = "/user/promotion/used") |
60bd8c
|
101 |
Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto); |
7c680b
|
102 |
|
C |
103 |
|
|
104 |
/** |
|
105 |
* 获取用户优惠券 |
|
106 |
* */ |
|
107 |
@PostMapping(value = "/user/coupon") |
f5bce1
|
108 |
Result userCoupon(@RequestBody UserCouponDto userCouponDto); |
7c680b
|
109 |
|
C |
110 |
/** |
|
111 |
* 获取用户优惠券使用记录 |
|
112 |
* */ |
|
113 |
@PostMapping(value = "/user/coupon/used") |
f5bce1
|
114 |
Result userCouponUsed(@RequestParam UserCouponDto userCouponDto); |
7c680b
|
115 |
|
C |
116 |
|
|
117 |
/** |
deb9ce
|
118 |
* 获取用户可用优惠券 |
F |
119 |
* */ |
|
120 |
@PostMapping(value = "/user/can/use/coupon") |
|
121 |
Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); |
|
122 |
|
50a746
|
123 |
/** |
4b7183
|
124 |
* 获取商品可用优惠券 |
W |
125 |
* */ |
|
126 |
@PostMapping(value = "/goods/can/use/coupon") |
f5e3fe
|
127 |
Result goodsCanUseCoupon(@RequestBody GoodsUsedCouponDto goodsUsedCouponDto); |
4b7183
|
128 |
|
W |
129 |
/** |
50a746
|
130 |
* 判断订单是否可用该优惠券 |
3b4cc5
|
131 |
* 转化使用 CouponNumberDto |
50a746
|
132 |
*/ |
W |
133 |
@PostMapping(value = "/order/can/use/coupon") |
|
134 |
Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto); |
|
135 |
|
deb9ce
|
136 |
|
F |
137 |
/** |
7c680b
|
138 |
* 获取用户增值金列表 |
C |
139 |
* */ |
|
140 |
@PostMapping(value = "/user/increment/list") |
f5bce1
|
141 |
Result userIncrementList(@RequestBody UserIncrementDto userIncrementDto); |
7c680b
|
142 |
|
C |
143 |
/** |
|
144 |
* 获取用户增值金使用记录 |
|
145 |
* */ |
|
146 |
@PostMapping(value = "/user/increment/used") |
f5bce1
|
147 |
Result userIncrementUsed(@RequestBody UserIncrementDto userIncrementDto); |
7c680b
|
148 |
|
C |
149 |
/** |
|
150 |
* 获取用户储值金列表 |
|
151 |
* */ |
|
152 |
@PostMapping(value = "/user/recharge/list") |
f5bce1
|
153 |
Result userRechargeList(@RequestBody UserRechargeDto userRechargeDto); |
7c680b
|
154 |
|
C |
155 |
/** |
34fb19
|
156 |
* 获取用户资金使用记录 |
7c680b
|
157 |
* */ |
34fb19
|
158 |
@PostMapping(value = "/user/money/used") |
f5bce1
|
159 |
Result userConsumeDt(@RequestBody UserConsumeDto userConsumeDto); |
7c680b
|
160 |
|
C |
161 |
/** |
|
162 |
* 获取用户积分列表 |
|
163 |
* */ |
|
164 |
@PostMapping(value = "/user/integral/list") |
f5bce1
|
165 |
Result userIntegralList(@RequestBody UserIntegralDto userIntegralDto); |
7c680b
|
166 |
|
C |
167 |
/** |
|
168 |
* 获取用户积分使用记录 |
|
169 |
* */ |
|
170 |
@PostMapping(value = "/user/integral/used") |
f5bce1
|
171 |
Result userIntegralUsed(@RequestBody UserIntegralDto userIntegralDto); |
7c680b
|
172 |
|
C |
173 |
|
|
174 |
/** |
|
175 |
* 获取用户拥有统计 |
3657e7
|
176 |
* 返回使用UserHaveDt |
7c680b
|
177 |
* */ |
C |
178 |
@PostMapping(value = "/user/have/count") |
7737d7
|
179 |
Result userHaveCount(@RequestBody UserHaveDto userHaveDto); |
7c680b
|
180 |
|
C |
181 |
|
|
182 |
/** |
|
183 |
* 获取用户标签 |
|
184 |
* @param |
|
185 |
* */ |
|
186 |
@PostMapping(value = "/user/label") |
f5bce1
|
187 |
Result userLabel(@RequestBody UserLabelDto userLabelDto); |
7c680b
|
188 |
|
C |
189 |
|
|
190 |
/** |
|
191 |
* 获取用户消费数据 |
|
192 |
* */ |
|
193 |
@PostMapping(value = "/user/consume/count") |
f5bce1
|
194 |
Result userConsumeCount(@RequestBody UserConsumeDto userConsumeDto); |
7c680b
|
195 |
|
C |
196 |
|
|
197 |
/** |
|
198 |
* 获取用户预约数据 |
|
199 |
* */ |
|
200 |
@PostMapping(value = "/user/appointment/list") |
f5bce1
|
201 |
Result userAppointment(@RequestBody UserAppointmentDto userAppointmentDto); |
7c680b
|
202 |
|
C |
203 |
/** |
|
204 |
* 获取用户划扣记录 |
|
205 |
* */ |
|
206 |
@PostMapping(value = "/user/project/deduction/list") |
f5bce1
|
207 |
Result userProjectDeduction(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
208 |
|
94e364
|
209 |
/** |
F |
210 |
* 获取会员等级变化记录 |
|
211 |
* */ |
|
212 |
@PostMapping(value = "/user/level/record/list") |
f5bce1
|
213 |
Result userLevelRecord(@RequestBody UserLevelDto userLevelDto); |
94e364
|
214 |
|
d139c6
|
215 |
/** |
F |
216 |
* 获取用户待领取增值金列表 |
|
217 |
* */ |
|
218 |
@PostMapping(value = "/user/wait/increment/list") |
f5bce1
|
219 |
Result userWaitIncList(@RequestBody UserWaitIncDto userWaitIncDto); |
d139c6
|
220 |
|
20524e
|
221 |
/** |
L |
222 |
* 获取用户颜值规划列表 |
|
223 |
* */ |
|
224 |
@PostMapping(value = "/user/appearance/list") |
|
225 |
Result userAppearanceList(@RequestBody UserDto userDto); |
|
226 |
|
|
227 |
/** |
|
228 |
* 获取用户颜值规划详情 |
|
229 |
* */ |
|
230 |
@PostMapping(value = "/user/appearance/info") |
|
231 |
Result userAppearanceInfo(@RequestParam("appearanceId") String appearanceId); |
|
232 |
|
c6f30e
|
233 |
/** |
f98fea
|
234 |
* 获取人群包列表(可传筛选的参数:会员等级,做过的项目,会员创建时间,最后一次消费时间,最后一次到店时间) |
c6f30e
|
235 |
* */ |
F |
236 |
@PostMapping(value = "/user/package/list") |
a795ef
|
237 |
Result userPackageList(@RequestBody UserPhisPackageDto userPhisPackageDto); |
F |
238 |
|
|
239 |
/**根据标识集合筛选用户*/ |
|
240 |
@PostMapping(value = "/user/idList/list") |
|
241 |
Result userIdSelectList(@RequestBody UserIdsDto userIdsDto); |
c6f30e
|
242 |
|
8c9fd0
|
243 |
/**获取用户信息,短信模板专用 |
C |
244 |
* 获取根据id或者CIQ或者hisId查找用户 |
|
245 |
* @param userDto 只使用id和CIQ |
|
246 |
* @return 转化使用UserDt |
|
247 |
*/ |
|
248 |
@PostMapping(value = "/user/sms-find") |
|
249 |
Result userSms(@RequestBody UserDto userDto); |
|
250 |
|
90bbd8
|
251 |
/** |
F |
252 |
* 获取用户信息,导入人群包专用 |
|
253 |
* 根据CIQ或者名称全匹配查找用户 |
|
254 |
* @param userDto 只使用name和CIQ |
|
255 |
* @return 转化使用UserDt |
|
256 |
*/ |
|
257 |
@PostMapping(value = "/user/crowd/import") |
|
258 |
Result userCrowdImport(@RequestBody UserDto userDto); |
|
259 |
|
5b7e84
|
260 |
/** |
F |
261 |
* 获取用户信息,导入人群包专用 |
|
262 |
* 根据CIQ或者名称全匹配查找用户 |
|
263 |
*/ |
|
264 |
@PostMapping(value = "/user/crowd/import/new") |
|
265 |
Result userCrowdImportNew(@RequestBody UserPackListDto userPackListDto); |
|
266 |
|
400fc4
|
267 |
|
W |
268 |
/** |
|
269 |
* 获取用户子项目 |
|
270 |
*/ |
|
271 |
@PostMapping(value = "/user/project/items") |
|
272 |
Result findUserProjectItem(@RequestBody UserProjectDto userProjectDto); |
|
273 |
|
42be3c
|
274 |
/** |
F |
275 |
* 获取到用户详情(同步使用) |
|
276 |
* @param userId 用户标识 |
|
277 |
* @return 转化使用UserDt |
|
278 |
*/ |
|
279 |
@PostMapping(value = "/user/info/baseInfo") |
|
280 |
Result userInfoBaseInfo(@RequestParam("userId") String userId); |
7b48b9
|
281 |
|
W |
282 |
/** |
aa92a2
|
283 |
* 获取到用户 |
F |
284 |
*/ |
|
285 |
@PostMapping(value = "/user/sync/by/idList") |
aa8aaa
|
286 |
Result userSyncList(@RequestBody List<String> hisIdList); |
aa92a2
|
287 |
|
F |
288 |
/** |
7b48b9
|
289 |
* 判断用户是否是会员 |
W |
290 |
* @param userDto userId |
|
291 |
* @return |
|
292 |
*/ |
|
293 |
@PostMapping(value = "/user/check/member") |
|
294 |
Result checkMember(@RequestBody UserDto userDto); |
46fff2
|
295 |
|
W |
296 |
/** |
|
297 |
* 查询用户会员等级下一级 |
|
298 |
* */ |
|
299 |
@PostMapping(value = "/user/next/level") |
|
300 |
Result nextLevel(@RequestBody UserDto userDto); |
a69b54
|
301 |
|
W |
302 |
/** |
9f119f
|
303 |
* 查询累计返佣 |
a69b54
|
304 |
* */ |
W |
305 |
@PostMapping(value = "/user/query/rebate") |
|
306 |
Result queryRebate(@RequestBody UserDto userDto); |
9f119f
|
307 |
|
W |
308 |
/** |
|
309 |
* 查询用户首天消费累计 |
|
310 |
* */ |
|
311 |
@PostMapping(value = "/user/first/day/consumption") |
|
312 |
Result firstDayConsumption(@RequestBody UserDto userDto); |
811ca6
|
313 |
|
W |
314 |
/** |
|
315 |
* 查询用户首天消费累计 |
|
316 |
* */ |
|
317 |
@PostMapping(value = "/user/accumulat/consumption") |
|
318 |
Result accumulateConsumption(@RequestBody UserDto userDto); |
b732e2
|
319 |
|
W |
320 |
/** |
|
321 |
* 判断用户是否为再升美学会员(是否有购买再升美学卡项订单) |
|
322 |
* */ |
|
323 |
@PostMapping(value = "/user/check/upgraded/aesthetics") |
|
324 |
Result checkUpgradedAesthetics(@RequestBody UserDto userDto); |
525866
|
325 |
|
W |
326 |
/** |
|
327 |
* 判断用户是否为再升美学会员(是否有购买再升美学卡项订单) |
|
328 |
* */ |
|
329 |
@PostMapping(value = "/user/check/consumption") |
|
330 |
Result checkConsumption(@RequestBody UserDto userDto); |
445e1b
|
331 |
|
W |
332 |
/** |
|
333 |
* 查询用户累计返佣 |
|
334 |
* */ |
|
335 |
@PostMapping(value = "/user/rebate/userId") |
|
336 |
Result queryRebateByUserId(@RequestBody UserDto userDto); |
f4771f
|
337 |
|
W |
338 |
/** |
|
339 |
* 查询用户累计返佣 |
|
340 |
* */ |
|
341 |
@PostMapping(value = "/user/query/oldNewPerformance") |
|
342 |
Result queryOldNewPerformance(@RequestBody UserDto userDto); |
d778e9
|
343 |
|
F |
344 |
|
|
345 |
@PostMapping(value = "/user/draw/list") |
|
346 |
Result drawGetUserDt(@RequestBody UserDto userDto); |
ef212c
|
347 |
|
dd3216
|
348 |
/** |
F |
349 |
* 查询用户科室关系 |
|
350 |
* */ |
|
351 |
@PostMapping(value = "/user/room/list") |
|
352 |
Result userRoomList(@RequestBody UserDto userDto); |
dc8210
|
353 |
|
R |
354 |
|
|
355 |
/** |
|
356 |
* 查询用户优惠券 已经过期和未过期的且过滤生日券 |
|
357 |
* */ |
|
358 |
@PostMapping(value = "/user/coupon/by/valid/state") |
|
359 |
Result userCouponByValidState(@RequestBody UserCouponDto userCouponDto); |
|
360 |
|
48478b
|
361 |
|
R |
362 |
/** |
|
363 |
* 用户优惠券列表 获取订单全额退款-退回已过期优惠券 |
|
364 |
* */ |
|
365 |
@PostMapping(value = "/user/refund/order/overdue/coupon") |
|
366 |
Result userRefundOrderOverdueCoupon(@RequestBody UserCouponDto userCouponDto); |
|
367 |
|
7c680b
|
368 |
} |