| | |
| | | package com.hz.his.feign.service.phis; |
| | | |
| | | import com.hx.resultTool.Result; |
| | | import com.hz.his.dto.user.UserAppointmentDto; |
| | | import com.hz.his.dto.user.UserDto; |
| | | import com.hz.his.dto.user.UserLevelDto; |
| | | import com.hz.his.dto.coupon.CouponDto; |
| | | import com.hz.his.dto.user.*; |
| | | import com.hz.his.dto.user.card.UserCardDto; |
| | | import com.hz.his.dto.user.card.UserCardUsedDto; |
| | | import com.hz.his.dto.user.coupon.GoodsCanUseCouponDto; |
| | | import com.hz.his.dto.user.coupon.OrderCanUseCouponDto; |
| | | import com.hz.his.dto.user.coupon.UserCanUseCouponDto; |
| | | import com.hz.his.dto.user.coupon.UserCouponDto; |
| | | import com.hz.his.dto.user.coupon.*; |
| | | import com.hz.his.dto.user.money.*; |
| | | import com.hz.his.dto.user.label.UserLabelDto; |
| | | import com.hz.his.dto.user.project.UserPackageDto; |
| | | import com.hz.his.dto.user.packages.UserPackageDto; |
| | | import com.hz.his.dto.user.packages.UserPhisPackageDto; |
| | | import com.hz.his.dto.user.project.UserProjectDto; |
| | | import com.hz.his.dto.user.project.UserProjectUsedDto; |
| | | import com.hz.his.dto.user.promotion.UserPromotionUsedDto; |
| | |
| | | * */ |
| | | @PostMapping(value = "/user/list") |
| | | Result userList(@RequestBody UserDto userDto); |
| | | |
| | | /** |
| | | * 查询用户标识列表 |
| | | * */ |
| | | @PostMapping(value = "/user/list/ids") |
| | | Result userIdList(@RequestBody UserDto userDto); |
| | | |
| | | /** |
| | | * 获取到用户详情 |
| | |
| | | * 获取商品可用优惠券 |
| | | * */ |
| | | @PostMapping(value = "/goods/can/use/coupon") |
| | | Result goodsCanUseCoupon(@RequestBody GoodsCanUseCouponDto goodsCanUseCouponDto); |
| | | Result goodsCanUseCoupon(@RequestBody GoodsUsedCouponDto goodsUsedCouponDto); |
| | | |
| | | /** |
| | | * 判断订单是否可用该优惠券 |
| | | * 转化使用 CouponNumberDto |
| | | */ |
| | | @PostMapping(value = "/order/can/use/coupon") |
| | | Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto); |
| | |
| | | |
| | | /** |
| | | * 获取用户拥有统计 |
| | | * 返回使用Dt |
| | | * */ |
| | | @PostMapping(value = "/user/have/count") |
| | | Result userHaveCount(@RequestParam("userId") String userId); |
| | | Result userHaveCount(@RequestBody UserHaveDto userHaveDto); |
| | | |
| | | |
| | | /** |
| | |
| | | * 获取人群包列表(可传筛选的参数:会员等级,做过的项目,会员创建时间,最后一次消费时间,最后一次到店时间) |
| | | * */ |
| | | @PostMapping(value = "/user/package/list") |
| | | Result userPackageList(@RequestBody UserPackageDto userPackageDto); |
| | | Result userPackageList(@RequestBody UserPhisPackageDto userPhisPackageDto); |
| | | |
| | | /**根据标识集合筛选用户*/ |
| | | @PostMapping(value = "/user/idList/list") |
| | | Result userIdSelectList(@RequestBody UserIdsDto userIdsDto); |
| | | |
| | | /**获取用户信息,短信模板专用 |
| | | * 获取根据id或者CIQ或者hisId查找用户 |
| | | * @param userDto 只使用id和CIQ |
| | | * @return 转化使用UserDt |
| | | */ |
| | | @PostMapping(value = "/user/sms-find") |
| | | Result userSms(@RequestBody UserDto userDto); |
| | | |
| | | /** |
| | | * 获取用户信息,导入人群包专用 |
| | | * 根据CIQ或者名称全匹配查找用户 |
| | | * @param userDto 只使用name和CIQ |
| | | * @return 转化使用UserDt |
| | | */ |
| | | @PostMapping(value = "/user/crowd/import") |
| | | Result userCrowdImport(@RequestBody UserDto userDto); |
| | | |
| | | } |