From 765007dcc802b0539124cb4c780de665e6665509 Mon Sep 17 00:00:00 2001 From: ANDRU-PC\Andru <769883346@qq.com> Date: 星期六, 06 五月 2023 14:56:25 +0800 Subject: [PATCH] Merge branch 'master' into master-test --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java | 89 ++++++++++++++++++++++++++++++++++++-------- 1 files changed, 72 insertions(+), 17 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 f0567c2..6674546 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 @@ -2,8 +2,9 @@ import com.hx.resultTool.Result; -import com.hz.his.dto.coupon.CouponDto; -import com.hz.his.dto.coupon.CouponGoodsDto; +import com.hz.his.dto.coupon.*; +import com.hz.his.dto.dictionaries.DictionariesDto; +import com.hz.phis.dt.marketingCoupon.MarketingCouponDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -16,26 +17,18 @@ public interface SCouponService { /** - * 鑾峰彇浼樻儬鍒稿垪琛�(鍚寚瀹�) - * @return Result - */ - @PostMapping(value = "/coupon/list/appoint") - Result getListAppoint(@RequestBody CouponDto couponDto); - - /** * 鑾峰彇浼樻儬鍒稿垪琛� * @return Result */ @PostMapping(value = "/coupon/list") Result getList(@RequestBody CouponDto couponDto); - /** - * 鍟嗗搧鍙鍙栦紭鎯犲埜 + * 鑾峰彇浼樻儬鍒稿垪琛�(鍚寚瀹�,缁熻浜烘暟) + * @return Result */ - @PostMapping(value = "/goods/receive/coupon") - Result goodsReceiveCoupon(@RequestBody CouponGoodsDto couponGoodsDto); - + @PostMapping(value = "/coupon/list/appoint") + Result getListAppoint(@RequestBody CouponDetailDto couponDetailDto); /** * 浼樻儬鍒歌鎯� @@ -43,13 +36,29 @@ @PostMapping(value = "/coupon/detail") Result couponDetail(@RequestParam("couponId") String couponId); + /** + * 鐢ㄦ埛浼樻儬鍒歌鎯� + */ + @PostMapping(value = "/coupon/couponNumberDetail") + Result couponNumberDetail(@RequestParam("couponNumberId") String couponNumberId); /** - * 鍟嗗搧鍙敤浼樻儬鍒� + * 浼樻儬鍒哥粺璁� */ - @PostMapping(value = "/goods/canUsed/coupon") - Result goodsCanUsedCoupon(@RequestBody CouponGoodsDto couponGoodsDto); + @PostMapping(value = "/coupon/count") + Result couponCount(@RequestParam("couponId") String couponId); + /** + * 浼樻儬鍒镐娇鐢ㄦ儏鍐靛垪琛� + */ + @PostMapping(value = "/coupon/used/detail") + Result couponUsedDetail(@RequestBody CouponListDetailDto couponListDetailDto); + + /** + * 鐢ㄦ埛浼樻儬鍒告儏鍐� + */ + @PostMapping(value = "/coupon/number/detail") + Result couponNumberDetail(@RequestBody CouponListDetailDto couponListDetailDto); /** * 鐢ㄦ埛鏄惁棰嗗彇杩囧洟璐椿鍔ㄤ紭鎯犲埜 @@ -58,4 +67,50 @@ Result checkGroupCoupon(@RequestBody CouponGoodsDto couponGoodsDto); + /** + * 鏍规嵁浼樻儬鍒竔d鏌ヨ鍏宠仈鍟嗗搧鍒嗙被 + */ + @PostMapping(value = "/get/coupon/type") + Result getCouponGoodsTyep(@RequestBody CouponGoodsDto couponGoodsDto); + + + /** + * 鏍规嵁浼樻儬鍒竔d缁熻鍏宠仈鍟嗗搧 + */ + @PostMapping(value = "/get/coupon/goods") + Result getCouponGoods(@RequestBody CouponGoodsDto couponGoodsDto); + + /** + * 鑾峰彇浼樻儬鍒稿垪琛�(涓嶅垎椤�) + * @return Result + */ + @PostMapping(value = "/getCouponList") + Result getCouponList(@RequestBody CouponDto couponDto); + + /** + * 鏌ヨ浼樻儬鍒哥爜璇︽儏(涓嶅垎椤�) + * @return Result + */ + @PostMapping(value = "/getCouponNumber") + Result getCouponNumber(@RequestBody CouponDto couponDto); + + /** + * 鏌ヨ鐢ㄦ埛棰嗗彇钀ラ攢浼樻儬鍒告暟鎹� + */ + @PostMapping(value = "/marketing/data") + Result marketingData(@RequestBody(required = false) MarketingCouponDto marketingCouponDto); + + + /** + * 浼樻儬鍒哥粺涓�鏍¢獙鎺ュ彛 + */ + @PostMapping(value = "/coupon/unify/check") + Result unifyCheck(@RequestBody(required = false) CouponCheckDto couponCheckDto); + + /** + * 鐢ㄦ埛-鍙敤浼樻儬鍒稿垪琛�-缁熶竴鏍¢獙鐗堟湰 + * @return canUseCouponList鍙敤鍒稿垪琛� canUseCount鍙敤鍒告暟閲� + * */ + @PostMapping(value = "/coupon/user/unify/check/list") + Result userCouponCheckList(@RequestBody(required = false) CouponListDto couponListDto); } -- Gitblit v1.8.0