From 0fdec9003ee06369547e306c3f15be2901da5cf4 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期三, 24 四月 2024 12:40:03 +0800 Subject: [PATCH] 1.修改dto字段 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java | 14 ++++++++++++++ 1 files changed, 14 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 4e4d24a..61231e3 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,6 +2,7 @@ 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; @@ -24,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); /** * 鏌ヨ鍛樺伐鍒楄〃 @@ -74,4 +82,10 @@ @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