From ec10c843df826f223dadd53ee584c4d4706e2aec Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期一, 06 三月 2023 11:12:01 +0800
Subject: [PATCH] 新增订单初始化方法:根据支付记录去重新算各种金额

---
 phis-feign/src/main/java/com/hz/his/dto/order/OrderInitVo.java                    |   14 ++++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java |    7 +++++++
 2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/order/OrderInitVo.java b/phis-feign/src/main/java/com/hz/his/dto/order/OrderInitVo.java
new file mode 100644
index 0000000..64b287b
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/order/OrderInitVo.java
@@ -0,0 +1,14 @@
+package com.hz.his.dto.order;
+
+import lombok.Data;
+
+/**
+ * 璁㈠崟鍒濆鍖栧疄浣�
+ */
+@Data
+public class OrderInitVo {
+
+    /**璁㈠崟鏍囪瘑*/
+    private String orderId;
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java
index 86134c3..bc7cdb3 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java
@@ -157,4 +157,11 @@
      */
     @PostMapping(value = "/order/whole/refund")
     Result wholeRefund(@RequestBody OrderRefundDto orderRefundDto);
+
+    /**
+     * 閲嶆柊鍒濆鍖栬鍗曢噾棰�
+     * 鏍规嵁鏀粯璁板綍鍘婚噸鏂扮畻鍚勭閲戦
+     */
+    @PostMapping(value = "/order/whole/refund")
+    Result initOrderMoney(@RequestBody OrderInitVo orderInitVo);
 }
\ No newline at end of file

--
Gitblit v1.8.0