From df78b0b686cbbad335934559bf9f146c207976b1 Mon Sep 17 00:00:00 2001
From: cmg <527198563@qq.com>
Date: 星期二, 14 五月 2024 18:33:26 +0800
Subject: [PATCH] 标准产品初始化

---
 phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java |   34 ++++++++++++++++++++++++++++++++--
 1 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java
index 1bdab13..91dec45 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java
@@ -5,14 +5,16 @@
  */
 
 import com.hx.resultTool.Result;
+import com.hz.his.dto.sync.SyncOrderDto;
 import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestParam;
 
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
-@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-order")
+@FeignClient(name="phi-platform-user",path = "/his_synchro",contextId = "synchro-order")
 public interface SyncOrderService {
 
     /**
@@ -20,6 +22,34 @@
      * @param orderId
      * @return
      */
-    @PostMapping(value = "/sync/order/getOrderById")
+    @GetMapping(value = "/sync/order/getOrderById")
     Result getOrderById(@RequestParam("orderId") String orderId);
+
+    /**
+     * 淇敼棰嗗仴璁㈠崟涓轰綔搴熻鍗�
+     * 娉ㄦ剰涓嶈闅忔剰璋冪敤锛岄渶瑕佺敤鍒板厛鍜屽悓姝ヤ腑蹇冨晢閲�
+     * @param syncOrderDto
+     * @return
+     */
+    @PostMapping(value = "/sync/order/cancelOrder")
+    Result cancelOrder(SyncOrderDto syncOrderDto);
+
+    /**
+     * 淇敼棰嗗缓璁㈠崟涓洪��娆剧姸鎬�
+     * 娉ㄦ剰涓嶈闅忔剰璋冪敤锛岄渶瑕佺敤鍒板厛鍜屽悓姝ヤ腑蹇冨晢閲�
+     * @param syncOrderDto
+     * @return
+     */
+    @PostMapping(value = "/sync/order/refundOrder")
+    Result refundOrder(SyncOrderDto syncOrderDto);
+    /**
+     * 淇敼棰嗗缓璁㈠崟涓洪儴鍒嗛��娆剧姸鎬�
+     * 娉ㄦ剰涓嶈闅忔剰璋冪敤锛岄渶瑕佺敤鍒板厛鍜屽悓姝ヤ腑蹇冨晢閲�
+     * @param syncOrderDto
+     * @return
+     */
+    @PostMapping(value = "/sync/order/partialRefund")
+    Result partialRefund(SyncOrderDto syncOrderDto);
+
+
 }

--
Gitblit v1.8.0