提交 | 用户 | age
|
067cfb
|
1 |
package com.hz.his.feign.service.platform; |
W |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.deduction.DeductionDto; |
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
|
6 |
import org.springframework.web.bind.annotation.PostMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
|
|
9 |
/** |
|
10 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
11 |
*/ |
|
12 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-deduction") |
|
13 |
public interface SPhipDeductionService { |
|
14 |
|
|
15 |
/** |
|
16 |
* 客户全部确认划扣 |
|
17 |
*/ |
|
18 |
@PostMapping(value = "/deduction/customer/confirm") |
|
19 |
Result customerConfirm(@RequestBody DeductionDto dto); |
|
20 |
|
|
21 |
/** |
|
22 |
* 客户全部确认划扣 |
|
23 |
*/ |
|
24 |
@PostMapping(value = "/deduction/customer/confirm/all") |
|
25 |
Result customerConfirmAll(@RequestBody DeductionDto dto); |
|
26 |
|
|
27 |
|
|
28 |
/** |
|
29 |
* 客户确认划扣之前页面数据 |
|
30 |
*/ |
|
31 |
@PostMapping(value = "/deduction/customer/confirm/before") |
|
32 |
Result customerConfirmBefore(@RequestBody DeductionDto dto); |
|
33 |
|
cf6861
|
34 |
/** |
A |
35 |
* 获取用户划扣信息之前的医生信息 |
|
36 |
*/ |
|
37 |
@PostMapping(value = "/deduction/project/before/doctor/info") |
|
38 |
Result projectBeforeDoctorInfo(@RequestBody DeductionDto dto); |
ab61e0
|
39 |
|
A |
40 |
/** |
|
41 |
* 新增划扣记录 |
|
42 |
*/ |
|
43 |
@PostMapping(value = "/deduction/add") |
|
44 |
Result addData(@RequestBody DeductionDto dto); |
|
45 |
|
|
46 |
/** |
|
47 |
* 修改划扣记录 |
|
48 |
*/ |
|
49 |
@PostMapping(value = "/deduction/update") |
|
50 |
Result updateData(@RequestBody DeductionDto dto); |
|
51 |
|
|
52 |
/** |
|
53 |
* 作废划扣记录 |
|
54 |
*/ |
|
55 |
@PostMapping(value = "/deduction/rescinded") |
|
56 |
Result rescindedData(@RequestBody DeductionDto dto); |
|
57 |
|
|
58 |
/** |
|
59 |
* 删除划扣记录 |
|
60 |
*/ |
|
61 |
@PostMapping(value = "/deduction/delete") |
|
62 |
Result deleteData(@RequestBody DeductionDto dto); |
067cfb
|
63 |
} |