From 9f412a26441377dff18399298311a8e177733e96 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 20 十月 2022 10:02:21 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPrescriptionService.java | 26 ++++++++++++++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserCardService.java | 2 +- 2 files changed, 27 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPrescriptionService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPrescriptionService.java new file mode 100644 index 0000000..5fb9c7a --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPrescriptionService.java @@ -0,0 +1,26 @@ +package com.hz.his.feign.service.sync; + +import com.hx.resultTool.Result; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; + +/** + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-prescription") +public interface SyncPrescriptionService { + + /** + * 鍒濆鍖栧鏂规ā鏉� + * @return + */ + @PostMapping(value = "/sync/prescription/his/prescription/template") + Result syncPrescriptionTemplate(); + + /** + * 鍒濆鍖栧鏂� + * @return + */ + @PostMapping(value = "/sync/prescription/his/prescription") + Result syncPrescription(); +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserCard.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserCardService.java similarity index 93% rename from phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserCard.java rename to phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserCardService.java index 102aa0e..bc5438d 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserCard.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserCardService.java @@ -9,7 +9,7 @@ * @Author */ @FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-userCrad") -public interface SyncUserCard { +public interface SyncUserCardService { /** -- Gitblit v1.8.0