From c6e788bfaf9be622cfac9aa9e7ba8fe96313b40a Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期四, 27 四月 2023 16:18:50 +0800
Subject: [PATCH] 优惠券统一校验接口

---
 phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckItemDto.java |    2 ++
 phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckDto.java     |   11 ++++++-----
 phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponCheckDt.java      |   14 ++++++++++++++
 3 files changed, 22 insertions(+), 5 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 643be7e..43f4f2e 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
@@ -15,11 +15,12 @@
 
     /**鐢ㄦ埛浼樻儬鍒哥爜鏍囪瘑闆嗗悎*/
     private List<String> couponNumberIdList;
-
-    /**鍟嗗搧鎬婚噾棰�*/
-    private BigDecimal total;
-    /**鍟嗗搧鎬讳欢鏁�*/
-    private Integer itemNum;
     /**鍟嗗搧淇℃伅*/
     private List<CouponCheckItemDto> goodsList;
+
+
+    /**鍟嗗搧鎬婚噾棰�(鏆傛棤鐢�-涓嶄紶)*/
+    private BigDecimal total;
+    /**鍟嗗搧鎬讳欢鏁�(鏆傛棤鐢�-涓嶄紶)*/
+    private Integer itemNum;
 }
diff --git a/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckItemDto.java b/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckItemDto.java
index 3aef17c..31b7b0c 100644
--- a/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckItemDto.java
+++ b/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponCheckItemDto.java
@@ -21,6 +21,8 @@
     private String hisId;
     /**鍟嗗搧phis绫诲瀷*/
     private String hisType;
+    /**鍟嗗搧鎵�灞瀙his鍒嗙被鏍囪瘑闆嗗悎*/
+    private List<String> hisTypeIdList;
     /**鍗曚釜鍟嗗搧閲戦*/
     private BigDecimal price;
     /**璐拱鏁伴噺*/
diff --git a/phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponCheckDt.java b/phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponCheckDt.java
new file mode 100644
index 0000000..499089a
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponCheckDt.java
@@ -0,0 +1,14 @@
+package com.hz.phis.dt.coupon;
+
+
+import lombok.Data;
+/**
+ * 浼樻儬鍒告楠岃繑鍥炲疄浣�
+ */
+@Data
+public class CouponCheckDt {
+    /**鏄惁鍙敤*/
+    private boolean isCanUse;
+    /**涓嶅彲鐢ㄦ彁绀�*/
+    private String unavailableMsg;
+}

--
Gitblit v1.8.0