From 3afb255628cad549b26cb5dda90f63b1f144132c Mon Sep 17 00:00:00 2001 From: liyuqian <201963020@qq.com> Date: 星期二, 06 九月 2022 15:18:52 +0800 Subject: [PATCH] 病例模板 --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncMedicalRecordsService.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncMedicalRecordsService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncMedicalRecordsService.java new file mode 100644 index 0000000..9c878f4 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncMedicalRecordsService.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-medical-records") +public interface SyncMedicalRecordsService { + + /** + * 鍒濆鍖栫梾渚嬫ā鏉� + * @return + */ + @PostMapping(value = "/sync/medical/records/his/medical/records/template") + Result syncMedicalRecordsTemplate(); + + /** + * 鍒濆鍖栫梾渚� + * @return + */ + @PostMapping(value = "/sync/medical/records/his/medical/records") + Result syncMedicalRecords(); +} -- Gitblit v1.8.0