From 813f72f3284522884ccfe26323304dfac4826a5c Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期一, 04 九月 2023 14:45:21 +0800
Subject: [PATCH] 增加转赠接口

---
 phis-feign/src/main/java/com/hz/his/dto/user/money/UserTurnDto.java                   |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java |    7 +++++++
 2 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/user/money/UserTurnDto.java b/phis-feign/src/main/java/com/hz/his/dto/user/money/UserTurnDto.java
new file mode 100644
index 0000000..c47b96d
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/user/money/UserTurnDto.java
@@ -0,0 +1,50 @@
+package com.hz.his.dto.user.money;
+
+
+import lombok.Data;
+import lombok.ToString;
+
+/**
+ *
+ * 鐢ㄦ埛杞禒
+ * @author fwq
+ * @date 2022-3-3
+ */
+@Data
+public class UserTurnDto {
+
+    /**杞禒浜烘爣璇�*/
+    private String turnPeopleId;
+    /**杞禒浜哄悕绉�*/
+    private String turnPeopleName;
+    /**杞禒闂ㄥ簵鏍囪瘑(璁㈠崟鎿嶄綔浜虹殑闂ㄥ簵)*/
+    private String turnShopId;
+    /**杞禒闂ㄥ簵鍚嶇О(璁㈠崟鎿嶄綔浜虹殑闂ㄥ簵)*/
+    private String turnShopName;
+    /**鍙楄禒浜烘爣璇�*/
+    private String doneeId;
+    /**鍙楄禒浜哄悕绉�*/
+    private String doneeName;
+    /**杞禒闂ㄥ簵鏍囪瘑(璁㈠崟鎿嶄綔浜虹殑闂ㄥ簵)*/
+    private String doneeShopId;
+    /**杞禒闂ㄥ簵鏍囪瘑(璁㈠崟鎿嶄綔浜虹殑闂ㄥ簵)*/
+    private String doneeShopName;
+    /**杞禒澧炲�奸噾*/
+    private String incrementMoney;
+    /**杞禒鍌ㄥ�奸噾*/
+    private String storedMoney;
+    /**杞禒绉垎*/
+    private String integral;
+    /**鍒涘缓浜烘爣璇�*/
+    private String createId;
+    /**鍒涘缓浜哄悕绉�*/
+    private String createName;
+    /**澶囨敞*/
+    private String remarks;
+    /**涓婚*/
+    private String originSubject;
+    /**鏉ユ簮骞冲彴*/
+    private String originChannel;
+    /**鍏宠仈鏍囪瘑*/
+    private String commonId;
+}
\ No newline at end of file
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java
index 743ccb4..9fd2c62 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java
@@ -4,6 +4,7 @@
 import com.hz.his.dto.user.money.PhisUserMoneyDto;
 import com.hz.his.dto.user.money.UserMoneyDto;
 import com.hz.his.dto.user.money.UserMoneyUpdateDto;
+import com.hz.his.dto.user.money.UserTurnDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -43,4 +44,10 @@
      */
     @PostMapping(value = "/user/money/log/use/info")
     Result userMoneyLogUseInfo(@RequestBody UserMoneyDto userMoneyDto);
+
+    /**
+     * 寮�鏀惧钩鍙�-鐢ㄦ埛璧勯噾杞禒
+     */
+    @PostMapping(value = "/user/money/turn")
+    Result userMoneyTurn(@RequestBody UserTurnDto userTurnDto);
 }
\ No newline at end of file

--
Gitblit v1.8.0