提交 | 用户 | 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 |
*/ |
|
18 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "employee") |
|
19 |
public interface SEmployeeService { |
|
20 |
|
|
21 |
/** |
|
22 |
* 获取员工详情 |
|
23 |
* @param empId 员工标识 |
|
24 |
* @return Result |
|
25 |
*/ |
|
26 |
@PostMapping(value = "/emp/detail") |
|
27 |
Result getEmpDetail(@RequestParam("empId") String empId); |
|
28 |
|
|
29 |
/** |
|
30 |
* 查询员工列表 |
|
31 |
*/ |
|
32 |
@PostMapping(value = "/emp/page/list") |
f5bce1
|
33 |
Result getEmpList(@RequestBody(required = false) EmployeeDto employeeDto); |
7c680b
|
34 |
|
C |
35 |
/** |
|
36 |
* 查询员工列表 |
|
37 |
*/ |
|
38 |
@PostMapping(value = "/emp/list") |
f5bce1
|
39 |
Result getList(@RequestBody(required = false) TimeDto timeDto); |
7c680b
|
40 |
|
C |
41 |
/** |
|
42 |
* 查询医生员工列表 |
|
43 |
*/ |
|
44 |
@PostMapping(value = "/emp/doctor/list") |
|
45 |
Result getDocEmpList(@RequestBody(required = false) EmpDocDto empDocDto); |
|
46 |
|
|
47 |
/** |
|
48 |
* 查询医生资质信息 |
|
49 |
*/ |
|
50 |
@PostMapping(value = "/emp/certificate") |
|
51 |
Result getEmpCertificate(@RequestBody(required = false) String empId); |
|
52 |
|
|
53 |
/** |
|
54 |
* 查询医生医务信息 |
|
55 |
*/ |
|
56 |
@PostMapping(value = "/emp/medical/info") |
|
57 |
Result getEmpMedicalInfo(@RequestBody(required = false) String empId); |
09daf8
|
58 |
|
F |
59 |
/** |
|
60 |
* 判断用户是否存在企业userId,是否存在传递的角色 |
|
61 |
*/ |
|
62 |
@PostMapping(value = "/emp/userId/role/check") |
|
63 |
Result checkUserIdRole(@RequestBody(required = false)EmployeeDto employeeDto); |
|
64 |
|
ca49d7
|
65 |
@PostMapping(value = "/emp/role/liset") |
W |
66 |
Result roleList(@RequestBody(required = false) EmployeeDto employeeDto); |
|
67 |
|
70b3a9
|
68 |
/**获取员工-角色列表*/ |
654f88
|
69 |
@PostMapping(value = "/emp/role/info/list") |
F |
70 |
Result employeeRoleList(@RequestBody(required = false) EmployeeRoleDto employeeRoleDto); |
ca49d7
|
71 |
|
4ec85c
|
72 |
@PostMapping(value = "/emp/check/doctor") |
W |
73 |
Result checkEmployeeRoleDoctor(@RequestBody(required = false) EmpDocDto employeeDto); |
|
74 |
|
ad8ab8
|
75 |
@PostMapping(value = "/emp/detail/name") |
W |
76 |
Result getDetailsByName(@RequestBody(required = false) EmpDocDto employeeDto); |
|
77 |
|
151762
|
78 |
@PostMapping(value = "/emp/role/get/one") |
F |
79 |
Result getEmployeeByRoleId(@RequestBody(required = false) EmpAuthDto empAuthDto); |
|
80 |
|
6ea6b8
|
81 |
@PostMapping(value = "/emp/auth/check") |
F |
82 |
Result empAuthCheck(@RequestBody(required = false) EmpAuthDto empAuthDto); |
|
83 |
|
7c680b
|
84 |
} |