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