From 5bb9d31e20066289972ba2cf10dd6bbe338121b9 Mon Sep 17 00:00:00 2001 From: liyuqian <201963020@qq.com> Date: 星期三, 19 十月 2022 17:54:24 +0800 Subject: [PATCH] 初始化处方、处方模板 --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncPrescriptionService.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 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(); +} -- Gitblit v1.8.0