From 15b55458ee0516748bf472d8f228d19c1d323731 Mon Sep 17 00:00:00 2001 From: Andru <769883346@qq.com> Date: 星期一, 13 十一月 2023 14:55:01 +0800 Subject: [PATCH] Merge branch 'master-prod-new' into master-test --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 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..5393a67 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; @@ -53,4 +55,30 @@ */ @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); + + @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