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/SEmployeeService.java |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java
index 9bf9172..4068a6b 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java
@@ -15,7 +15,7 @@
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
-@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "employee")
+@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "employee")
 public interface SEmployeeService {
 
     /**
@@ -25,6 +25,13 @@
      */
     @PostMapping(value = "/emp/detail")
     Result getEmpDetail(@RequestParam("empId") String empId);
+
+    /**
+     * 鑾峰彇鍛樺伐璇︽儏
+     * @return Result
+     */
+    @PostMapping(value = "/emp/detail/byNoOrId")
+    Result getEmpDetailByIdOrNo(@RequestBody EmployeeDto employeeDto);
 
     /**
      * 鏌ヨ鍛樺伐鍒楄〃
@@ -75,6 +82,9 @@
     @PostMapping(value = "/emp/detail/name")
     Result getDetailsByName(@RequestBody(required = false) EmpDocDto employeeDto);
 
+    @PostMapping(value = "/emp/role/get/one")
+    Result getEmployeeByRoleId(@RequestBody(required = false) EmpAuthDto empAuthDto);
+
     @PostMapping(value = "/emp/auth/check")
     Result empAuthCheck(@RequestBody(required = false) EmpAuthDto empAuthDto);
 

--
Gitblit v1.8.0