提交 | 用户 | age
|
d3af5b
|
1 |
package com.hz.his.feign.service.phis; |
R |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.PageDto; |
8d40de
|
5 |
import com.hz.his.dto.organize.OrganizeDto; |
d3af5b
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
R |
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
|
|
10 |
/** |
|
11 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
12 |
*/ |
|
13 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "organization") |
|
14 |
public interface SOrganizationDeptService { |
|
15 |
|
|
16 |
|
|
17 |
/** |
|
18 |
* 获取组织架构字典列表 |
|
19 |
*/ |
|
20 |
@PostMapping(value = "organization/dept/list") |
|
21 |
Result getList(@RequestBody(required = false) PageDto pageDto); |
|
22 |
|
8d40de
|
23 |
/** |
F |
24 |
* 获取组织结构列表 |
|
25 |
*/ |
|
26 |
@PostMapping(value = "/organize/get/list") |
|
27 |
Result getOrganizeList(@RequestBody OrganizeDto organizeDto); |
|
28 |
|
|
29 |
/** |
|
30 |
* 获取组织结构详情 |
|
31 |
*/ |
|
32 |
@PostMapping(value = "/organize/get/one") |
|
33 |
Result getOrganizeDetail(@RequestBody OrganizeDto organizeDto); |
|
34 |
|
d3af5b
|
35 |
} |