From 3dac1b9697a7a214789cc2d95788a178a63be4aa Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期二, 30 四月 2024 20:45:37 +0800 Subject: [PATCH] 修改feign调用的服务名:synchro-service 修改为 phi-platform-user --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java index 029f575..3882fc4 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java @@ -10,11 +10,12 @@ import org.springframework.web.bind.annotation.RequestParam; import java.util.List; +import java.util.Map; /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "project") +@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "project") public interface SProjectService { /** @@ -92,4 +93,19 @@ @PostMapping(value = "/project/sku/spu") Result getSkuAndSpu(@RequestParam("projectId") String projectId); + /** + * 鍒ゆ柇鏄惁涓哄尰鐤楅」鐩� + * @return Result + */ + @PostMapping(value = "/project/check/medical") + Result checkMedicalIitems(@RequestBody ProjectDto projectDto); + + /** + * his鍔╂墜锛岄棬搴楀姪鎵� 寮�鍗曟椂 浣跨敤鏌ヨ椤圭洰鍒楄〃 + * @param projectDto + * @return + */ + @PostMapping(value = "/project/list/by/type") + Result getProjectByTypeId(@RequestBody ProjectDto projectDto); + } \ No newline at end of file -- Gitblit v1.8.0