提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.phis; |
7c680b
|
2 |
|
C |
3 |
|
|
4 |
import com.hx.resultTool.Result; |
6ea6b8
|
5 |
import com.hz.his.dto.employee.EmpAuthDto; |
7c680b
|
6 |
import com.hz.his.dto.employee.EmpDocDto; |
f5bce1
|
7 |
import com.hz.his.dto.TimeDto; |
F |
8 |
import com.hz.his.dto.employee.EmployeeDto; |
654f88
|
9 |
import com.hz.his.dto.employee.EmployeeRoleDto; |
7c680b
|
10 |
import org.springframework.cloud.openfeign.FeignClient; |
C |
11 |
import org.springframework.web.bind.annotation.PostMapping; |
|
12 |
import org.springframework.web.bind.annotation.RequestBody; |
|
13 |
import org.springframework.web.bind.annotation.RequestParam; |
|
14 |
|
|
15 |
/** |
|
16 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
17 |
*/ |
314a4b
|
18 |
@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "employee") |
7c680b
|
19 |
public interface SEmployeeService { |
C |
20 |
|
|
21 |
/** |
|
22 |
* 获取员工详情 |
|
23 |
* @param empId 员工标识 |
|
24 |
* @return Result |
|
25 |
*/ |
|
26 |
@PostMapping(value = "/emp/detail") |
|
27 |
Result getEmpDetail(@RequestParam("empId") String empId); |
|
28 |
|
|
29 |
/** |
260658
|
30 |
* 获取员工详情 |
F |
31 |
* @return Result |
|
32 |
*/ |
|
33 |
@PostMapping(value = "/emp/detail/byNoOrId") |
|
34 |
Result getEmpDetailByIdOrNo(@RequestBody EmployeeDto employeeDto); |
|
35 |
|
|
36 |
/** |
7c680b
|
37 |
* 查询员工列表 |
C |
38 |
*/ |
|
39 |
@PostMapping(value = "/emp/page/list") |
f5bce1
|
40 |
Result getEmpList(@RequestBody(required = false) EmployeeDto employeeDto); |
7c680b
|
41 |
|
C |
42 |
/** |
|
43 |
* 查询员工列表 |
|
44 |
*/ |
|
45 |
@PostMapping(value = "/emp/list") |
f5bce1
|
46 |
Result getList(@RequestBody(required = false) TimeDto timeDto); |
7c680b
|
47 |
|
C |
48 |
/** |
|
49 |
* 查询医生员工列表 |
|
50 |
*/ |
|
51 |
@PostMapping(value = "/emp/doctor/list") |
|
52 |
Result getDocEmpList(@RequestBody(required = false) EmpDocDto empDocDto); |
|
53 |
|
|
54 |
/** |
|
55 |
* 查询医生资质信息 |
|
56 |
*/ |
|
57 |
@PostMapping(value = "/emp/certificate") |
|
58 |
Result getEmpCertificate(@RequestBody(required = false) String empId); |
|
59 |
|
|
60 |
/** |
|
61 |
* 查询医生医务信息 |
|
62 |
*/ |
|
63 |
@PostMapping(value = "/emp/medical/info") |
|
64 |
Result getEmpMedicalInfo(@RequestBody(required = false) String empId); |
09daf8
|
65 |
|
F |
66 |
/** |
|
67 |
* 判断用户是否存在企业userId,是否存在传递的角色 |
|
68 |
*/ |
|
69 |
@PostMapping(value = "/emp/userId/role/check") |
|
70 |
Result checkUserIdRole(@RequestBody(required = false)EmployeeDto employeeDto); |
|
71 |
|
ca49d7
|
72 |
@PostMapping(value = "/emp/role/liset") |
W |
73 |
Result roleList(@RequestBody(required = false) EmployeeDto employeeDto); |
|
74 |
|
70b3a9
|
75 |
/**获取员工-角色列表*/ |
654f88
|
76 |
@PostMapping(value = "/emp/role/info/list") |
F |
77 |
Result employeeRoleList(@RequestBody(required = false) EmployeeRoleDto employeeRoleDto); |
ca49d7
|
78 |
|
4ec85c
|
79 |
@PostMapping(value = "/emp/check/doctor") |
W |
80 |
Result checkEmployeeRoleDoctor(@RequestBody(required = false) EmpDocDto employeeDto); |
|
81 |
|
ad8ab8
|
82 |
@PostMapping(value = "/emp/detail/name") |
W |
83 |
Result getDetailsByName(@RequestBody(required = false) EmpDocDto employeeDto); |
|
84 |
|
151762
|
85 |
@PostMapping(value = "/emp/role/get/one") |
F |
86 |
Result getEmployeeByRoleId(@RequestBody(required = false) EmpAuthDto empAuthDto); |
|
87 |
|
6ea6b8
|
88 |
@PostMapping(value = "/emp/auth/check") |
F |
89 |
Result empAuthCheck(@RequestBody(required = false) EmpAuthDto empAuthDto); |
|
90 |
|
7c680b
|
91 |
} |