提交 | 用户 | age
|
c4454c
|
1 |
package com.hz.his.feign.service.platform; |
R |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
f8c529
|
4 |
import com.hz.phis.vo.returnVisitRecord.ReturnVisitBatchVo; |
4fd200
|
5 |
import com.hz.phis.vo.returnVisitRecord.ReturnVisitRecordInsertVo; |
17ba6c
|
6 |
import com.hz.phis.vo.returnVisitRecord.ReturnVisitVisitVo; |
c4454c
|
7 |
import org.springframework.cloud.openfeign.FeignClient; |
R |
8 |
import org.springframework.web.bind.annotation.PostMapping; |
|
9 |
import org.springframework.web.bind.annotation.RequestBody; |
|
10 |
|
|
11 |
/** |
|
12 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
13 |
*/ |
|
14 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-return-visit-record") |
|
15 |
public interface SPhipReturnVisitRecordService { |
|
16 |
|
|
17 |
/** |
|
18 |
* 开放平台-回访记录新增 |
|
19 |
*/ |
|
20 |
@PostMapping(value = "/return/visit/record/v2/add") |
4fd200
|
21 |
Result add(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
22 |
|
R |
23 |
/** |
|
24 |
* 开放平台-回访记录修改 |
|
25 |
*/ |
|
26 |
@PostMapping(value = "/return/visit/record/v2/update") |
4fd200
|
27 |
Result update(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
28 |
|
R |
29 |
|
|
30 |
/** |
|
31 |
* 开放平台-批量修改回访人 |
|
32 |
*/ |
|
33 |
@PostMapping(value = "/return/visit/record/v2/batch/update/corp/user") |
4fd200
|
34 |
Result batchUpdateCorpUser(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
35 |
|
R |
36 |
|
|
37 |
/** |
|
38 |
* 开放平台-批量修改计划时间 |
|
39 |
*/ |
|
40 |
@PostMapping(value = "/return/visit/record/v2/batch/update/plan/time") |
4fd200
|
41 |
Result batchUpdatePlanTime(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
42 |
|
R |
43 |
/** |
|
44 |
* 开放平台-取消 |
|
45 |
*/ |
|
46 |
@PostMapping(value = "/return/visit/record/v2/cancel") |
4fd200
|
47 |
Result cancelData(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
48 |
|
R |
49 |
|
|
50 |
/** |
|
51 |
* 开放平台-批量取消 |
|
52 |
*/ |
|
53 |
@PostMapping(value = "/return/visit/record/v2/batch/cancel") |
4fd200
|
54 |
Result batchCancelData(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
55 |
|
R |
56 |
/** |
|
57 |
* 开放平台-删除 |
|
58 |
*/ |
|
59 |
@PostMapping(value = "/return/visit/record/v2/delete") |
4fd200
|
60 |
Result delete(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
61 |
|
R |
62 |
/** |
b58b01
|
63 |
* 开放平台-批量删除 |
C |
64 |
*/ |
|
65 |
@PostMapping(value = "/return/visit/record/v2/batch/delete") |
|
66 |
Result batchDeleteRecord(@RequestBody ReturnVisitRecordInsertVo dto); |
|
67 |
|
|
68 |
/** |
c4454c
|
69 |
* 开放平台-回访 |
R |
70 |
*/ |
|
71 |
@PostMapping(value = "/return/visit/record/v2/access") |
17ba6c
|
72 |
Result access(@RequestBody ReturnVisitVisitVo dto); |
c4454c
|
73 |
|
f8c529
|
74 |
/** |
R |
75 |
* 开放平台-批量新增 |
|
76 |
*/ |
|
77 |
@PostMapping(value = "/return/visit/record/v2/batch/add") |
|
78 |
Result batchAddData(@RequestBody ReturnVisitBatchVo dto); |
|
79 |
|
c4454c
|
80 |
} |