From d7df65b19d4bc6d968763329f98a605214a8317d Mon Sep 17 00:00:00 2001
From: zhangxu <3%usVi4iXbVkhI1c>
Date: 星期三, 31 八月 2022 11:30:15 +0800
Subject: [PATCH] 根据订单id获取领健订单信息

---
 phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 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
new file mode 100644
index 0000000..1bdab13
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java
@@ -0,0 +1,25 @@
+package com.hz.his.feign.service.sync;
+
+/**
+ * @Author
+ */
+
+import com.hx.resultTool.Result;
+import org.springframework.cloud.openfeign.FeignClient;
+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")
+public interface SyncOrderService {
+
+    /**
+     * 鏍规嵁鐢ㄦ埛id鑾峰彇棰嗗仴璁㈠崟淇℃伅
+     * @param orderId
+     * @return
+     */
+    @PostMapping(value = "/sync/order/getOrderById")
+    Result getOrderById(@RequestParam("orderId") String orderId);
+}

--
Gitblit v1.8.0