提交 | 用户 | 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; |
7c680b
|
8 |
import org.springframework.cloud.openfeign.FeignClient; |
C |
9 |
import org.springframework.web.bind.annotation.PostMapping; |
|
10 |
import org.springframework.web.bind.annotation.RequestBody; |
|
11 |
import org.springframework.web.bind.annotation.RequestParam; |
|
12 |
|
|
13 |
/** |
|
14 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
15 |
*/ |
|
16 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "employee") |
|
17 |
public interface SEmployeeService { |
|
18 |
|
|
19 |
/** |
|
20 |
* 获取员工详情 |
|
21 |
* @param empId 员工标识 |
|
22 |
* @return Result |
|
23 |
*/ |
|
24 |
@PostMapping(value = "/emp/detail") |
|
25 |
Result getEmpDetail(@RequestParam("empId") String empId); |
|
26 |
|
|
27 |
/** |
|
28 |
* 查询员工列表 |
|
29 |
*/ |
|
30 |
@PostMapping(value = "/emp/page/list") |
f5bce1
|
31 |
Result getEmpList(@RequestBody(required = false) EmployeeDto employeeDto); |
7c680b
|
32 |
|
C |
33 |
/** |
|
34 |
* 查询员工列表 |
|
35 |
*/ |
|
36 |
@PostMapping(value = "/emp/list") |
f5bce1
|
37 |
Result getList(@RequestBody(required = false) TimeDto timeDto); |
7c680b
|
38 |
|
C |
39 |
/** |
|
40 |
* 查询医生员工列表 |
|
41 |
*/ |
|
42 |
@PostMapping(value = "/emp/doctor/list") |
|
43 |
Result getDocEmpList(@RequestBody(required = false) EmpDocDto empDocDto); |
|
44 |
|
|
45 |
/** |
|
46 |
* 查询医生资质信息 |
|
47 |
*/ |
|
48 |
@PostMapping(value = "/emp/certificate") |
|
49 |
Result getEmpCertificate(@RequestBody(required = false) String empId); |
|
50 |
|
|
51 |
/** |
|
52 |
* 查询医生医务信息 |
|
53 |
*/ |
|
54 |
@PostMapping(value = "/emp/medical/info") |
|
55 |
Result getEmpMedicalInfo(@RequestBody(required = false) String empId); |
|
56 |
} |