提交 | 用户 | 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 |
|
|
22 |
/** |
|
23 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
24 |
*/ |
|
25 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "user") |
|
26 |
public interface SUserService { |
|
27 |
|
|
28 |
/** |
deb9ce
|
29 |
* 查询用户列表 |
7c680b
|
30 |
* */ |
deb9ce
|
31 |
@PostMapping(value = "/user/list") |
F |
32 |
Result userList(@RequestBody UserDto userDto); |
7c680b
|
33 |
|
C |
34 |
/** |
6fd03e
|
35 |
* 查询用户标识列表 |
F |
36 |
* */ |
|
37 |
@PostMapping(value = "/user/list/ids") |
|
38 |
Result userIdList(@RequestBody UserDto userDto); |
|
39 |
|
|
40 |
/** |
7c680b
|
41 |
* 获取到用户详情 |
deb9ce
|
42 |
* @param userId 用户标识 |
74caeb
|
43 |
* @return 转化使用UserDt |
7c680b
|
44 |
*/ |
C |
45 |
@PostMapping(value = "/user/info") |
|
46 |
Result userInfo(@RequestParam("userId") String userId); |
74caeb
|
47 |
|
C |
48 |
/** |
deb9ce
|
49 |
* 获取用户资金信息 |
74caeb
|
50 |
* */ |
deb9ce
|
51 |
@PostMapping(value = "/user/money/info") |
F |
52 |
Result userMoneyInfo(@RequestParam("userId") String userId); |
7c680b
|
53 |
|
C |
54 |
/** |
|
55 |
* 获取用户项目 |
|
56 |
*/ |
|
57 |
@PostMapping(value = "/user/project/list") |
f5bce1
|
58 |
Result userProject(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
59 |
|
C |
60 |
/** |
|
61 |
* 获取用户子项目 |
|
62 |
*/ |
|
63 |
@PostMapping(value = "/user/project/item/list") |
f5bce1
|
64 |
Result userProjectItem(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
65 |
|
C |
66 |
/** |
|
67 |
* 获取用户子项目使用记录 |
|
68 |
*/ |
|
69 |
@PostMapping(value = "/user/project/used") |
f5bce1
|
70 |
Result userProjectUsed(@RequestBody UserProjectUsedDto userProjectUsedDto); |
7c680b
|
71 |
|
C |
72 |
|
|
73 |
/** |
|
74 |
* 获取用户卡包 |
|
75 |
*/ |
|
76 |
@PostMapping(value = "/user/card") |
f5bce1
|
77 |
Result userCard(@RequestBody UserCardDto userCardDto); |
7c680b
|
78 |
|
863ca8
|
79 |
|
F |
80 |
/** |
|
81 |
* 获取用户的卡项的详情 |
|
82 |
* @param cardId 卡包标识 |
|
83 |
* @return Result |
|
84 |
*/ |
|
85 |
@PostMapping(value = "/userCard/detail") |
|
86 |
Result getUserCardDetail(@RequestParam("cardId") String cardId); |
|
87 |
|
7c680b
|
88 |
/** |
C |
89 |
* 获取用户卡包使用记录 |
|
90 |
*/ |
|
91 |
@PostMapping(value = "/user/card/used") |
f5bce1
|
92 |
Result userCardUsed(@RequestBody UserCardUsedDto userCardUsedDto); |
7c680b
|
93 |
|
C |
94 |
|
|
95 |
/** |
|
96 |
* 获取用户促销使用记录 |
|
97 |
* */ |
|
98 |
@PostMapping(value = "/user/promotion/used") |
60bd8c
|
99 |
Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto); |
7c680b
|
100 |
|
C |
101 |
|
|
102 |
/** |
|
103 |
* 获取用户优惠券 |
|
104 |
* */ |
|
105 |
@PostMapping(value = "/user/coupon") |
f5bce1
|
106 |
Result userCoupon(@RequestBody UserCouponDto userCouponDto); |
7c680b
|
107 |
|
C |
108 |
/** |
|
109 |
* 获取用户优惠券使用记录 |
|
110 |
* */ |
|
111 |
@PostMapping(value = "/user/coupon/used") |
f5bce1
|
112 |
Result userCouponUsed(@RequestParam UserCouponDto userCouponDto); |
7c680b
|
113 |
|
C |
114 |
|
|
115 |
/** |
deb9ce
|
116 |
* 获取用户可用优惠券 |
F |
117 |
* */ |
|
118 |
@PostMapping(value = "/user/can/use/coupon") |
|
119 |
Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); |
|
120 |
|
50a746
|
121 |
/** |
4b7183
|
122 |
* 获取商品可用优惠券 |
W |
123 |
* */ |
|
124 |
@PostMapping(value = "/goods/can/use/coupon") |
f5e3fe
|
125 |
Result goodsCanUseCoupon(@RequestBody GoodsUsedCouponDto goodsUsedCouponDto); |
4b7183
|
126 |
|
W |
127 |
/** |
50a746
|
128 |
* 判断订单是否可用该优惠券 |
3b4cc5
|
129 |
* 转化使用 CouponNumberDto |
50a746
|
130 |
*/ |
W |
131 |
@PostMapping(value = "/order/can/use/coupon") |
|
132 |
Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto); |
|
133 |
|
deb9ce
|
134 |
|
F |
135 |
/** |
7c680b
|
136 |
* 获取用户增值金列表 |
C |
137 |
* */ |
|
138 |
@PostMapping(value = "/user/increment/list") |
f5bce1
|
139 |
Result userIncrementList(@RequestBody UserIncrementDto userIncrementDto); |
7c680b
|
140 |
|
C |
141 |
/** |
|
142 |
* 获取用户增值金使用记录 |
|
143 |
* */ |
|
144 |
@PostMapping(value = "/user/increment/used") |
f5bce1
|
145 |
Result userIncrementUsed(@RequestBody UserIncrementDto userIncrementDto); |
7c680b
|
146 |
|
C |
147 |
/** |
|
148 |
* 获取用户储值金列表 |
|
149 |
* */ |
|
150 |
@PostMapping(value = "/user/recharge/list") |
f5bce1
|
151 |
Result userRechargeList(@RequestBody UserRechargeDto userRechargeDto); |
7c680b
|
152 |
|
C |
153 |
/** |
34fb19
|
154 |
* 获取用户资金使用记录 |
7c680b
|
155 |
* */ |
34fb19
|
156 |
@PostMapping(value = "/user/money/used") |
f5bce1
|
157 |
Result userConsumeDt(@RequestBody UserConsumeDto userConsumeDto); |
7c680b
|
158 |
|
C |
159 |
/** |
|
160 |
* 获取用户积分列表 |
|
161 |
* */ |
|
162 |
@PostMapping(value = "/user/integral/list") |
f5bce1
|
163 |
Result userIntegralList(@RequestBody UserIntegralDto userIntegralDto); |
7c680b
|
164 |
|
C |
165 |
/** |
|
166 |
* 获取用户积分使用记录 |
|
167 |
* */ |
|
168 |
@PostMapping(value = "/user/integral/used") |
f5bce1
|
169 |
Result userIntegralUsed(@RequestBody UserIntegralDto userIntegralDto); |
7c680b
|
170 |
|
C |
171 |
|
|
172 |
/** |
|
173 |
* 获取用户拥有统计 |
3657e7
|
174 |
* 返回使用UserHaveDt |
7c680b
|
175 |
* */ |
C |
176 |
@PostMapping(value = "/user/have/count") |
7737d7
|
177 |
Result userHaveCount(@RequestBody UserHaveDto userHaveDto); |
7c680b
|
178 |
|
C |
179 |
|
|
180 |
/** |
|
181 |
* 获取用户标签 |
|
182 |
* @param |
|
183 |
* */ |
|
184 |
@PostMapping(value = "/user/label") |
f5bce1
|
185 |
Result userLabel(@RequestBody UserLabelDto userLabelDto); |
7c680b
|
186 |
|
C |
187 |
|
|
188 |
/** |
|
189 |
* 获取用户消费数据 |
|
190 |
* */ |
|
191 |
@PostMapping(value = "/user/consume/count") |
f5bce1
|
192 |
Result userConsumeCount(@RequestBody UserConsumeDto userConsumeDto); |
7c680b
|
193 |
|
C |
194 |
|
|
195 |
/** |
|
196 |
* 获取用户预约数据 |
|
197 |
* */ |
|
198 |
@PostMapping(value = "/user/appointment/list") |
f5bce1
|
199 |
Result userAppointment(@RequestBody UserAppointmentDto userAppointmentDto); |
7c680b
|
200 |
|
C |
201 |
/** |
|
202 |
* 获取用户划扣记录 |
|
203 |
* */ |
|
204 |
@PostMapping(value = "/user/project/deduction/list") |
f5bce1
|
205 |
Result userProjectDeduction(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
206 |
|
94e364
|
207 |
/** |
F |
208 |
* 获取会员等级变化记录 |
|
209 |
* */ |
|
210 |
@PostMapping(value = "/user/level/record/list") |
f5bce1
|
211 |
Result userLevelRecord(@RequestBody UserLevelDto userLevelDto); |
94e364
|
212 |
|
d139c6
|
213 |
/** |
F |
214 |
* 获取用户待领取增值金列表 |
|
215 |
* */ |
|
216 |
@PostMapping(value = "/user/wait/increment/list") |
f5bce1
|
217 |
Result userWaitIncList(@RequestBody UserWaitIncDto userWaitIncDto); |
d139c6
|
218 |
|
20524e
|
219 |
/** |
L |
220 |
* 获取用户颜值规划列表 |
|
221 |
* */ |
|
222 |
@PostMapping(value = "/user/appearance/list") |
|
223 |
Result userAppearanceList(@RequestBody UserDto userDto); |
|
224 |
|
|
225 |
/** |
|
226 |
* 获取用户颜值规划详情 |
|
227 |
* */ |
|
228 |
@PostMapping(value = "/user/appearance/info") |
|
229 |
Result userAppearanceInfo(@RequestParam("appearanceId") String appearanceId); |
|
230 |
|
c6f30e
|
231 |
/** |
f98fea
|
232 |
* 获取人群包列表(可传筛选的参数:会员等级,做过的项目,会员创建时间,最后一次消费时间,最后一次到店时间) |
c6f30e
|
233 |
* */ |
F |
234 |
@PostMapping(value = "/user/package/list") |
a795ef
|
235 |
Result userPackageList(@RequestBody UserPhisPackageDto userPhisPackageDto); |
F |
236 |
|
|
237 |
/**根据标识集合筛选用户*/ |
|
238 |
@PostMapping(value = "/user/idList/list") |
|
239 |
Result userIdSelectList(@RequestBody UserIdsDto userIdsDto); |
c6f30e
|
240 |
|
8c9fd0
|
241 |
/**获取用户信息,短信模板专用 |
C |
242 |
* 获取根据id或者CIQ或者hisId查找用户 |
|
243 |
* @param userDto 只使用id和CIQ |
|
244 |
* @return 转化使用UserDt |
|
245 |
*/ |
|
246 |
@PostMapping(value = "/user/sms-find") |
|
247 |
Result userSms(@RequestBody UserDto userDto); |
|
248 |
|
90bbd8
|
249 |
/** |
F |
250 |
* 获取用户信息,导入人群包专用 |
|
251 |
* 根据CIQ或者名称全匹配查找用户 |
|
252 |
* @param userDto 只使用name和CIQ |
|
253 |
* @return 转化使用UserDt |
|
254 |
*/ |
|
255 |
@PostMapping(value = "/user/crowd/import") |
|
256 |
Result userCrowdImport(@RequestBody UserDto userDto); |
|
257 |
|
400fc4
|
258 |
|
W |
259 |
/** |
|
260 |
* 获取用户子项目 |
|
261 |
*/ |
|
262 |
@PostMapping(value = "/user/project/items") |
|
263 |
Result findUserProjectItem(@RequestBody UserProjectDto userProjectDto); |
|
264 |
|
42be3c
|
265 |
/** |
F |
266 |
* 获取到用户详情(同步使用) |
|
267 |
* @param userId 用户标识 |
|
268 |
* @return 转化使用UserDt |
|
269 |
*/ |
|
270 |
@PostMapping(value = "/user/info/baseInfo") |
|
271 |
Result userInfoBaseInfo(@RequestParam("userId") String userId); |
7b48b9
|
272 |
|
W |
273 |
/** |
|
274 |
* 判断用户是否是会员 |
|
275 |
* @param userDto userId |
|
276 |
* @return |
|
277 |
*/ |
|
278 |
@PostMapping(value = "/user/check/member") |
|
279 |
Result checkMember(@RequestBody UserDto userDto); |
46fff2
|
280 |
|
W |
281 |
/** |
|
282 |
* 查询用户会员等级下一级 |
|
283 |
* */ |
|
284 |
@PostMapping(value = "/user/next/level") |
|
285 |
Result nextLevel(@RequestBody UserDto userDto); |
a69b54
|
286 |
|
W |
287 |
/** |
|
288 |
* 查询用户会员等级下一级 |
|
289 |
* */ |
|
290 |
@PostMapping(value = "/user/query/rebate") |
|
291 |
Result queryRebate(@RequestBody UserDto userDto); |
7c680b
|
292 |
} |