From 0f0a66dbd463f239c128cacc82e87b046257d4e0 Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期一, 30 九月 2024 16:50:42 +0800
Subject: [PATCH] 1.修改到访和撤回逻辑 2.会员来访明细查询修改

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 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 9462bd1..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
@@ -2,9 +2,11 @@
 
 
 import com.hx.resultTool.Result;
+import com.hz.his.dto.employee.EmpAuthDto;
 import com.hz.his.dto.employee.EmpDocDto;
 import com.hz.his.dto.TimeDto;
 import com.hz.his.dto.employee.EmployeeDto;
+import com.hz.his.dto.employee.EmployeeRoleDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -13,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 {
 
     /**
@@ -23,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);
 
     /**
      * 鏌ヨ鍛樺伐鍒楄〃
@@ -60,4 +69,23 @@
     @PostMapping(value = "/emp/userId/role/check")
     Result checkUserIdRole(@RequestBody(required = false)EmployeeDto employeeDto);
 
+    @PostMapping(value = "/emp/role/liset")
+    Result roleList(@RequestBody(required = false) EmployeeDto employeeDto);
+
+    /**鑾峰彇鍛樺伐-瑙掕壊鍒楄〃*/
+    @PostMapping(value = "/emp/role/info/list")
+    Result employeeRoleList(@RequestBody(required = false) EmployeeRoleDto employeeRoleDto);
+
+    @PostMapping(value = "/emp/check/doctor")
+    Result checkEmployeeRoleDoctor(@RequestBody(required = false) EmpDocDto employeeDto);
+
+    @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