From 067cfbcefb1af1ef92578ac7f186d931bf0fbdfc Mon Sep 17 00:00:00 2001
From: wangrenhuang <wangren_huang@163.com>
Date: 星期四, 13 十月 2022 19:52:56 +0800
Subject: [PATCH] 我的项目优化

---
 phis-feign/src/main/java/com/hz/his/dto/deduction/DeductionDto.java                   |   23 +++++++++++++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDeductionService.java |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/deduction/DeductionDto.java b/phis-feign/src/main/java/com/hz/his/dto/deduction/DeductionDto.java
new file mode 100644
index 0000000..fe99df4
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/deduction/DeductionDto.java
@@ -0,0 +1,23 @@
+package com.hz.his.dto.deduction;
+
+import lombok.Data;
+
+/**
+ * @ClassName DeductionDto
+ * @Description 鍒掓墸
+ * @Author Wrh
+ * @Date 2022/10/13 10:37
+ * @Version 1.0
+ */
+@Data
+public class DeductionDto {
+
+    /**鍒掓墸id*/
+    private String deductionSingleId;
+    /**鐢ㄦ埛id*/
+    private String userId;
+    /**鏄惁瀹㈡埛纭(0:鍚︼紝1:鏄�)*/
+    private Integer isCustomerConfirm;
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDeductionService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDeductionService.java
new file mode 100644
index 0000000..9067cda
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDeductionService.java
@@ -0,0 +1,35 @@
+package com.hz.his.feign.service.platform;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.deduction.DeductionDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+/**
+ * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
+ */
+@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-deduction")
+public interface SPhipDeductionService {
+
+    /**
+     * 瀹㈡埛鍏ㄩ儴纭鍒掓墸
+     */
+    @PostMapping(value = "/deduction/customer/confirm")
+    Result customerConfirm(@RequestBody DeductionDto dto);
+
+    /**
+     * 瀹㈡埛鍏ㄩ儴纭鍒掓墸
+     */
+    @PostMapping(value = "/deduction/customer/confirm/all")
+    Result customerConfirmAll(@RequestBody DeductionDto dto);
+
+
+    /**
+     * 瀹㈡埛纭鍒掓墸涔嬪墠椤甸潰鏁版嵁
+     */
+    @PostMapping(value = "/deduction/customer/confirm/before")
+    Result customerConfirmBefore(@RequestBody DeductionDto dto);
+
+
+}
\ No newline at end of file

--
Gitblit v1.8.0