From 65b5757a6797459ad72f992e8ed0fc5ef3306385 Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期四, 24 八月 2023 11:00:18 +0800
Subject: [PATCH] 1.新增优惠券查询方法和dto字段

---
 phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckDto.java         |    2 ++
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java |    7 +++++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckDto.java b/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckDto.java
index 64111b7..f4336cb 100644
--- a/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckDto.java
+++ b/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckDto.java
@@ -20,6 +20,8 @@
     /**鏀粯鏂瑰紡缂栧彿闆嗗悎*/
     private List<String> payMethodList;
 
+    /** 妫�鏌ヤ紭鎯犲埜鐮佹槸鍚﹀凡琚娇鐢紝榛樿ture妫�鏌ワ紝鍗囧崟鏄痜alse涓嶆鏌� */
+    private boolean checkCouponNumberIsUse = true;
 
     /**鍟嗗搧鎬婚噾棰�(鏆傛棤鐢�-涓嶄紶)*/
     private BigDecimal total;
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 a7eac39..dc62742 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")

--
Gitblit v1.8.0