From b7d2a4eb1366dfe6b5ab486b89796c706f0b6a05 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期一, 26 六月 2023 11:53:47 +0800
Subject: [PATCH] 卡项退款-优化

---
 phis-feign/src/main/java/com/hz/his/vo/order/refund/RefundMethodVo.java            |   12 +++++-
 phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardItemVo.java |    2 +
 phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardVo.java     |   51 +++++++++++++++++--------
 3 files changed, 47 insertions(+), 18 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/vo/order/refund/RefundMethodVo.java b/phis-feign/src/main/java/com/hz/his/vo/order/refund/RefundMethodVo.java
index 9da7033..053da40 100644
--- a/phis-feign/src/main/java/com/hz/his/vo/order/refund/RefundMethodVo.java
+++ b/phis-feign/src/main/java/com/hz/his/vo/order/refund/RefundMethodVo.java
@@ -11,6 +11,8 @@
 @Data
 public class RefundMethodVo {
 
+    /** 鍙��鏀粯鏂瑰紡鏍囪瘑 */
+    private String payMethodId;
     /** 鍙��鏀粯鏂瑰紡缂栫爜 */
     private String payMethodNo;
     /** 鍙��鏀粯鏂瑰紡鍚嶇О */
@@ -22,11 +24,17 @@
     /**鏄惁鍒掓墸璁$畻锛�0鍚�1鏄�*/
     private Integer isExecute;
 
+    /** 杞崲鏂瑰紡鏍囪瘑 锛堝疄闄呴��娆炬柟寮忔爣璇嗭級*/
+    private String refundMethodId;
     /** 杞崲鏂瑰紡缂栫爜 锛堝疄闄呴��娆炬柟寮忕紪鐮侊級*/
-    private String refundNumberNo;
+    private String refundMethodNo;
     /** 杞崲鏂瑰紡鍚嶇О 锛堝疄闄呴��娆炬柟寮忕紪鐮侊級*/
-    private String refundNumberName;
+    private String refundMethodName;
     /** 杞崲瀹為��閲戦 锛堝疄闄呴��娆鹃噾棰濓級*/
     private BigDecimal refundTotal;
+    /**杞崲鏄惁鐜伴噾鏀粯 0鍚�1鏄�*/
+    private Integer isMoneyPayRefund;
+    /**杞崲鏄惁鍒掓墸璁$畻锛�0鍚�1鏄�*/
+    private Integer isExecuteRefund;
 
 }
diff --git a/phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardItemVo.java b/phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardItemVo.java
index 4b23d21..c079fca 100644
--- a/phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardItemVo.java
+++ b/phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardItemVo.java
@@ -16,6 +16,8 @@
     private String cardItemInfoName;
     /**閫�娆炬暟閲忥紙鎶垫墸娆℃暟锛�*/
     private Integer refundQuantity;
+    /**鏄惁鏈�鍚庣殑鎶垫墸娆℃暟*/
+    private boolean lastNum = false;
 
     //---鐢ㄤ簬绯荤粺杩斿洖鍙傛暟璁$畻
     /** 鍙��鎬婚噾棰�*/
diff --git a/phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardVo.java b/phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardVo.java
index ab500f3..5a96e24 100644
--- a/phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardVo.java
+++ b/phis-feign/src/main/java/com/hz/his/vo/order/refund/card/RefundUserCardVo.java
@@ -8,7 +8,7 @@
 import java.util.List;
 
 /**鍗¢」锛堝崱鍖咃級閫�娆鹃噾棰濅俊鎭绠楃粨鏋勪綋-鎬讳俊鎭�
- *
+ * @author CJH
  */
 @Data
 public class RefundUserCardVo {
@@ -18,30 +18,49 @@
     /** 鐢ㄦ埛鍗″寘鍚嶇О */
     private String userCardName;
 
-    /** 閫�娆惧師鍥狅紙鍛樺伐锛� */
-    private String remarks;
-    /** 閫�娆惧師鍥狅紙鐢ㄦ埛锛� */
-    private String refundReason;
-
     /** 鍗¢」鏉冪泭 */
     private List<RefundUserCardEquityVo> refundUserCardEquityVoList;
     /**鏀粯鏂瑰紡*/
     private List<RefundMethodVo> payMethodVos;
     /**閫�娆炬敮浠樻柟寮�*/
     private List<RefundMethodVo> refundMethodVos;
+    /** 閫�娆惧師鍥狅紙鍛樺伐锛� */
+    private String remarks;
+    /** 閫�娆惧師鍥狅紙鐢ㄦ埛锛� */
+    private String refundReason;
 
-    //-----鐢ㄤ簬绯荤粺杩斿洖鍙傛暟璁$畻
-    /** 鍙��鎬婚噾棰�*/
-    private BigDecimal approveRefundTotal = BigDecimal.ZERO;
-    /** 鍙��鎬荤Н鍒�*/
-    private BigDecimal approveRefundIntegral = BigDecimal.ZERO;
-    /**鍒嗛厤閲戦*/
-    private BigDecimal occupyRefundTotal = BigDecimal.ZERO;
-    /**鍒嗛厤绉垎*/
-    private BigDecimal occupyRefundIntegral = BigDecimal.ZERO;
-
+    /**鎿嶄綔浜虹被鍨嬶紝榛樿鍛樺伐*/
+    private String  opType = OP_TYPE_STAFF;
     /**鎿嶄綔鍛樺伐鏍囪瘑*/
     private String staffId;
     /**鎿嶄綔鍛樺伐瑙掕壊鏍囪瘑*/
     private String staffRoleId;
+    /**鎿嶄綔骞冲彴-鏍囧織*/
+    private String appId;
+    /**鎿嶄綔骞冲彴-鍟嗘埛鑷畾涔夌紪鐮�*/
+    private String appIdCode;
+    /**鎿嶄綔骞冲彴-鍚嶇О*/
+    private String appIdName;
+
+    //-----鐢ㄤ簬绯荤粺杩斿洖鍙傛暟璁$畻
+    /**绯荤粺璁$畻璧嬪��-鍙��鎬婚噾棰�*/
+    private BigDecimal approveRefundTotal = BigDecimal.ZERO;
+    /**绯荤粺璁$畻璧嬪��-鍙��鎬荤Н鍒�*/
+    private BigDecimal approveRefundIntegral = BigDecimal.ZERO;
+    /**绯荤粺璁$畻璧嬪��-鍒嗛厤閲戦*/
+    private BigDecimal occupyRefundTotal = BigDecimal.ZERO;
+    /**绯荤粺璁$畻璧嬪��-鍒嗛厤绉垎*/
+    private BigDecimal occupyRefundIntegral = BigDecimal.ZERO;
+    /**绯荤粺璁$畻璧嬪��-閫�娆鹃噾棰�*/
+    private BigDecimal refundTotal = BigDecimal.ZERO;
+    /**绯荤粺璁$畻璧嬪��-閫�娆剧Н鍒�*/
+    private BigDecimal refundIntegral = BigDecimal.ZERO;
+
+    /**鎿嶄綔绫诲瀷-绯荤粺*/
+    public static final String OP_TYPE_SYSTEM = "system";
+    /**鎿嶄綔绫诲瀷-鐢ㄦ埛*/
+    public static final String OP_TYPE_USER = "user";
+    /**鎿嶄綔绫诲瀷-鍛樺伐*/
+    public static final String OP_TYPE_STAFF = "staff";
+
 }

--
Gitblit v1.8.0