From 1296bf4d442223a733dd4e24be1b273b505fb9d6 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期日, 28 四月 2024 16:31:03 +0800 Subject: [PATCH] 方法优化计算 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java index 0d4f469..01f8bca 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java @@ -116,6 +116,13 @@ Result userCouponCheckList(@RequestBody(required = false) CouponListDto couponListDto); /** + * 鐢ㄦ埛-鍗囧崟璁㈠崟鐨勫師浣跨敤浼樻儬鍒稿垪琛� + * @return canUseCouponList鍙敤鍒稿垪琛� canUseCount鍙敤鍒告暟閲� + * */ + @PostMapping(value = "/coupon/user/riseOrderOriCouponList") + Result riseOrderOriCouponList(@RequestBody(required = false) CouponListDto couponListDto); + + /** * 鏍规嵁skuid鏌ヨ鍏宠仈浼樻儬鍒� */ @PostMapping(value = "/coupon/find/skuId") @@ -124,4 +131,37 @@ /*涓嬪崟鏍¢獙浼樻儬鍒告槸鍚﹀彲鐢�*/ @PostMapping(value = "/coupon/order/check") Result orderCheck(@RequestBody(required = false) CouponListDto couponListDto); + + /** + * 鏌ョ湅鍟嗗搧璇︽儏鐢ㄦ埛鍙敤浼樻儬鍒� + */ + @PostMapping(value = "/coupon/user/goods") + Result findUserGoodsCoupon(@RequestBody(required = false) GoodsUsedCouponDto dto); + + /** + * 鏌ヨ鍩虹鍒嗙被 + */ + @PostMapping(value = "/coupon/type/list") + Result getCouponTypeList(@RequestBody(required = false) CouponDto dto); + + /** + * 鏌ヨ浼樻儬鍒稿垎绫� + */ + @PostMapping(value = "/couponType/list") + Result couponTypeList(@RequestBody(required = false) CouponTypeDto couponTypeDto); + + /*** + * 鏌ヨ浼樻儬鍒稿彲鐢ㄩ」鐩� + */ + @PostMapping(value = "/coupon/usable/project/list") + Result couponUsableProjectList(@RequestBody(required = false) CouponDto dto); + + /*** + * 鏌ヨ鐢ㄦ埛浼樻儬鍒� 鏄惁鏈変粖骞村彂鏀炬寚瀹氱殑鐢熸棩鍒� + */ + @PostMapping(value = "/coupon/birthday/list/user") + Result userBirthDayCouponList(@RequestBody(required = false) CouponDto dto); + + + } -- Gitblit v1.8.0