提交 | 用户 | age
|
4e5b05
|
1 |
package com.hz.his.feign.service.sync; |
Z |
2 |
|
|
3 |
import com.alibaba.fastjson.JSONObject; |
|
4 |
import com.hx.resultTool.Result; |
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
|
6 |
import org.springframework.web.bind.annotation.GetMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
|
|
9 |
/** |
|
10 |
* @Author |
|
11 |
*/ |
|
12 |
@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-project") |
|
13 |
public interface SyncProjectService { |
|
14 |
|
|
15 |
/** |
|
16 |
* 新增项目分类 |
|
17 |
* @param jsonObject |
|
18 |
* @return |
|
19 |
*/ |
|
20 |
@GetMapping(value = "/sync/project/add/service/tree") |
|
21 |
Result addServiceTree(@RequestBody JSONObject jsonObject); |
|
22 |
|
|
23 |
/** |
|
24 |
* 修改 |
|
25 |
* @param jsonObject |
|
26 |
* @return |
|
27 |
*/ |
|
28 |
@GetMapping(value = "/sync/project/update/service/tree") |
|
29 |
Result updateServiceTree(@RequestBody JSONObject jsonObject); |
4ccb05
|
30 |
|
A |
31 |
/** |
|
32 |
* 同步his用户可划扣的数据 |
|
33 |
* @param jsonObject 参数 |
|
34 |
* @return 返回 |
|
35 |
*/ |
|
36 |
@GetMapping(value = "/sync/executionRecord/executable") |
|
37 |
Result syncExecutionRecord(@RequestBody JSONObject jsonObject); |
4e5b05
|
38 |
} |