From 899277d8fba239727875201ee6a060b6c535f743 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期一, 30 九月 2024 18:01:39 +0800 Subject: [PATCH] 1.修改会员来访明细工具逻辑 2.新增查询权限工具类 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 43 insertions(+), 3 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 428a4bb..a4b64d1 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 @@ -4,17 +4,19 @@ import com.hz.his.dto.PageDto; import com.hz.his.dto.TimeDto; import com.hz.his.dto.project.ProjectDto; +import com.hz.his.vo.project.ProjectFindVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; 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 { /** @@ -47,6 +49,13 @@ * @return Result */ @PostMapping(value = "/project/page/list") + Result getProjectList(@RequestBody ProjectFindVo projectFindVo); + + /** + * 鑾峰彇椤圭洰鍒楄〃锛堝洜涓轰唬鐮佺殑闂锛岃繖涓帴鍙d繚瀛樹笅鏉ワ級 + * @return Result + */ + @PostMapping(value = "/project/page/list2") Result getProjectList(@RequestBody PageDto pageDto); /** @@ -78,10 +87,41 @@ Result getUpdateSpuProject(@RequestBody ProjectDto projectDto); /** - * 鑾峰彇椤圭洰spu瑙勬牸鍒楄〃(鍚屾浣跨敤) + * 鑾峰彇褰撳墠椤圭洰sku瑙勬牸鍜屽叾spu瑙勬牸(鍚屾浣跨敤) * @return Result + * 杩斿洖浣跨敤SpecDt */ @PostMapping(value = "/project/page/spu/spec/update") - Result getUpdateSpuSpecProject(@RequestParam("hisId") String hisId); + Result getUpdateSpuSpecProject(@RequestParam("projectId") String projectId); + + /** + * 鑾峰彇褰撳墠椤圭洰sku鍜屽搴旂殑spu淇℃伅 + * @return Result + */ + @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); + + /**鏌ヨ椤圭洰绉垎鎶垫墸鐜伴噾鐨勬瘮渚�*/ + @PostMapping(value = "/project/integral/cash/rate") + Result getIntegralCashRate(@RequestBody ProjectDto projectDto); + + /**鏌ヨ鏄犲皠椤圭洰妯″潡鏍戝瀷涓夌骇*/ + @PostMapping(value = "/project/item/relation/list") + Result projectItemList(@RequestBody ProjectDto projectDto); } \ No newline at end of file -- Gitblit v1.8.0