| | |
| | | package com.hz.his.feign.service; |
| | | |
| | | import com.hx.resultTool.Result; |
| | | import com.hz.phis.dt.user.UserAppointmentDt; |
| | | import com.hz.phis.dt.user.UserDt; |
| | | import com.hz.phis.dt.user.card.UserCardDt; |
| | | import com.hz.phis.dt.user.card.UserCardUsedDt; |
| | | import com.hz.phis.dt.user.coupon.UserCanUseCouponDt; |
| | | import com.hz.phis.dt.user.coupon.UserCouponDt; |
| | | import com.hz.phis.dt.user.money.UserConsumeDt; |
| | | import com.hz.phis.dt.user.label.UserLabelDt; |
| | | import com.hz.phis.dt.user.project.UserProjectDt; |
| | | import com.hz.phis.dt.user.money.UserIncrementDt; |
| | | import com.hz.phis.dt.user.money.UserIntegralDt; |
| | | import com.hz.phis.dt.user.money.UserRechargeDt; |
| | | import com.hz.phis.dt.user.project.UserProjectUsedDt; |
| | | 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.user.card.UserCardDto; |
| | | import com.hz.his.dto.user.card.UserCardUsedDto; |
| | | import com.hz.his.dto.user.coupon.UserCanUseCouponDto; |
| | | import com.hz.his.dto.user.coupon.UserCouponDto; |
| | | import com.hz.his.dto.user.money.*; |
| | | import com.hz.his.dto.user.label.UserLabelDto; |
| | | import com.hz.his.dto.user.project.UserProjectDto; |
| | | import com.hz.his.dto.user.project.UserProjectUsedDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | public interface SUserService { |
| | | |
| | | /** |
| | | * 获取用户基本信息 |
| | | * @param |
| | | * 查询用户列表 |
| | | * */ |
| | | @PostMapping(value = "/user/info/basic") |
| | | Result userBasicInfo(@RequestParam("userId") String userId); |
| | | @PostMapping(value = "/user/list") |
| | | Result userList(@RequestBody UserDto userDto); |
| | | |
| | | /** |
| | | * 获取到用户详情 |
| | | * @param userId 预约用户标识 |
| | | * @return UserDt |
| | | * @param userId 用户标识 |
| | | * @return 转化使用UserDt |
| | | */ |
| | | @PostMapping(value = "/user/info") |
| | | Result userInfo(@RequestParam("userId") String userId); |
| | | |
| | | /** |
| | | * 获取用户资金信息 |
| | | * */ |
| | | @PostMapping(value = "/user/money/info") |
| | | Result userMoneyInfo(@RequestParam("userId") String userId); |
| | | |
| | | /** |
| | | * 获取用户项目 |
| | | */ |
| | | @PostMapping(value = "/user/project/list") |
| | | Result userProject(@RequestBody UserProjectDt userProjectDt); |
| | | Result userProject(@RequestBody UserProjectDto userProjectDto); |
| | | |
| | | /** |
| | | * 获取用户子项目 |
| | | */ |
| | | @PostMapping(value = "/user/project/item/list") |
| | | Result userProjectItem(@RequestBody UserProjectDt userProjectDt); |
| | | Result userProjectItem(@RequestBody UserProjectDto userProjectDto); |
| | | |
| | | /** |
| | | * 获取用户子项目使用记录 |
| | | */ |
| | | @PostMapping(value = "/user/project/used") |
| | | Result userProjectUsed(@RequestBody UserProjectUsedDt userProjectUsedDt); |
| | | Result userProjectUsed(@RequestBody UserProjectUsedDto userProjectUsedDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户卡包 |
| | | */ |
| | | @PostMapping(value = "/user/card") |
| | | Result userCard(@RequestBody UserCardDt userCardDt); |
| | | Result userCard(@RequestBody UserCardDto userCardDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户的卡项的详情 |
| | | * @param cardId 卡包标识 |
| | | * @return Result |
| | | */ |
| | | @PostMapping(value = "/userCard/detail") |
| | | Result getUserCardDetail(@RequestParam("cardId") String cardId); |
| | | |
| | | /** |
| | | * 获取用户卡包使用记录 |
| | | */ |
| | | @PostMapping(value = "/user/card/used") |
| | | Result userCardUsed(@RequestBody UserCardUsedDt userCardUsedDt); |
| | | Result userCardUsed(@RequestBody UserCardUsedDto userCardUsedDto); |
| | | |
| | | |
| | | /** |
| | |
| | | * 获取用户优惠券 |
| | | * */ |
| | | @PostMapping(value = "/user/coupon") |
| | | Result userCoupon(@RequestBody UserCouponDt userCouponDt); |
| | | Result userCoupon(@RequestBody UserCouponDto userCouponDto); |
| | | |
| | | /** |
| | | * 获取用户优惠券使用记录 |
| | | * */ |
| | | @PostMapping(value = "/user/coupon/used") |
| | | Result userCouponUsed(@RequestParam UserCouponDt userCouponDt); |
| | | Result userCouponUsed(@RequestParam UserCouponDto userCouponDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户可用优惠券 |
| | | * */ |
| | | @PostMapping(value = "/user/can/use/coupon") |
| | | Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户增值金列表 |
| | | * */ |
| | | @PostMapping(value = "/user/increment/list") |
| | | Result userIncrementList(@RequestBody UserIncrementDt userIncrementDt); |
| | | Result userIncrementList(@RequestBody UserIncrementDto userIncrementDto); |
| | | |
| | | /** |
| | | * 获取用户增值金使用记录 |
| | | * */ |
| | | @PostMapping(value = "/user/increment/used") |
| | | Result userIncrementUsed(@RequestBody UserIncrementDt userIncrementDt); |
| | | Result userIncrementUsed(@RequestBody UserIncrementDto userIncrementDto); |
| | | |
| | | /** |
| | | * 获取用户储值金列表 |
| | | * */ |
| | | @PostMapping(value = "/user/recharge/list") |
| | | Result userRechargeList(@RequestBody UserRechargeDt userRechargeDt); |
| | | Result userRechargeList(@RequestBody UserRechargeDto userRechargeDto); |
| | | |
| | | /** |
| | | * 获取用户资金使用记录 |
| | | * */ |
| | | @PostMapping(value = "/user/money/used") |
| | | Result userConsumeDt(@RequestBody UserConsumeDt userConsumeDt); |
| | | Result userConsumeDt(@RequestBody UserConsumeDto userConsumeDto); |
| | | |
| | | /** |
| | | * 获取用户积分列表 |
| | | * */ |
| | | @PostMapping(value = "/user/integral/list") |
| | | Result userIntegralList(@RequestBody UserIntegralDt userIntegralDt); |
| | | Result userIntegralList(@RequestBody UserIntegralDto userIntegralDto); |
| | | |
| | | /** |
| | | * 获取用户积分使用记录 |
| | | * */ |
| | | @PostMapping(value = "/user/integral/used") |
| | | Result userIntegralUsed(@RequestBody UserIntegralDt userIntegralDt); |
| | | Result userIntegralUsed(@RequestBody UserIntegralDto userIntegralDto); |
| | | |
| | | /** |
| | | * 根据电话号码查询用户信息 |
| | | * @param tel |
| | | * */ |
| | | @PostMapping(value = "/user/info/tel") |
| | | Result findUserInfoByTel(@RequestParam("tel") String tel); |
| | | |
| | | /** |
| | | * 获取用户拥有统计 |
| | | * @param |
| | | * */ |
| | | @PostMapping(value = "/user/have/count") |
| | | Result userHaveCount(@RequestParam("userId") String userId); |
| | | |
| | | /** |
| | | * 获取用户可用优惠券 |
| | | * @param |
| | | * */ |
| | | @PostMapping(value = "/user/can/use/coupon") |
| | | Result userCanUseCoupon(@RequestBody UserCanUseCouponDt userCanUseCouponDt); |
| | | |
| | | /** |
| | | * 根据电话号码或者CIQ获取指定用户 |
| | | * */ |
| | | @PostMapping(value = "/user/info/telOrCiq") |
| | | Result findUserByTelOrCiq(@RequestBody UserDt userDt); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param |
| | | * */ |
| | | @PostMapping(value = "/user/label") |
| | | Result userLabel(@RequestBody UserLabelDt userLabelDt); |
| | | Result userLabel(@RequestBody UserLabelDto userLabelDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户消费数据 |
| | | * @param |
| | | * */ |
| | | @PostMapping(value = "/user/consume/count") |
| | | Result userConsumeCount(@RequestBody UserConsumeDt userConsumeDt); |
| | | Result userConsumeCount(@RequestBody UserConsumeDto userConsumeDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户预约数据 |
| | | * */ |
| | | @PostMapping(value = "/user/appointment/list") |
| | | Result userAppointment(@RequestBody UserAppointmentDt userAppointmentDt); |
| | | Result userAppointment(@RequestBody UserAppointmentDto userAppointmentDto); |
| | | |
| | | /** |
| | | * 获取用户划扣记录 |
| | | * */ |
| | | @PostMapping(value = "/user/project/deduction/list") |
| | | Result userProjectDeduction(@RequestBody UserProjectDt userProjectDt); |
| | | Result userProjectDeduction(@RequestBody UserProjectDto userProjectDto); |
| | | |
| | | /** |
| | | * 获取会员等级变化记录 |
| | | * */ |
| | | @PostMapping(value = "/user/level/record/list") |
| | | Result userLevelRecord(@RequestBody UserLevelDto userLevelDto); |
| | | |
| | | /** |
| | | * 获取用户待领取增值金列表 |
| | | * */ |
| | | @PostMapping(value = "/user/wait/increment/list") |
| | | Result userWaitIncList(@RequestBody UserWaitIncDto userWaitIncDto); |
| | | |
| | | } |