From 901640864538fe0b27f161c484cd13d14cafb8a2 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 23 三月 2023 11:26:36 +0800 Subject: [PATCH] 抽离合并的Feign --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 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 3e16eff..4bdf4f6 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 @@ -5,6 +5,7 @@ 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; @@ -53,4 +54,18 @@ */ @PostMapping(value = "/emp/medical/info") Result getEmpMedicalInfo(@RequestBody(required = false) String empId); + + /** + * 鍒ゆ柇鐢ㄦ埛鏄惁瀛樺湪浼佷笟userId,鏄惁瀛樺湪浼犻�掔殑瑙掕壊 + */ + @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); + } -- Gitblit v1.8.0