提交 | 用户 | age
|
7c680b
|
1 |
package com.hz.his.feign.service; |
C |
2 |
|
|
3 |
|
|
4 |
import com.hx.resultTool.Result; |
|
5 |
import com.hz.his.dto.PageDto; |
|
6 |
import com.hz.his.dto.employee.EmpDocDto; |
|
7 |
import com.hz.phis.dt.TimeDt; |
|
8 |
import com.hz.phis.dt.employee.EmployeeDt; |
|
9 |
import org.springframework.cloud.openfeign.FeignClient; |
|
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") |
|
32 |
Result getEmpList(@RequestBody(required = false) EmployeeDt employeeDt); |
|
33 |
|
|
34 |
/** |
|
35 |
* 查询员工列表 |
|
36 |
*/ |
|
37 |
@PostMapping(value = "/emp/list") |
|
38 |
Result getList(@RequestBody(required = false) TimeDt timeDt); |
|
39 |
|
|
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); |
|
57 |
} |