ANDRU-PC\Andru
2023-08-29 0955de49844044ff1e7a44f423d2bdaecba6515a
提交 | 用户 | 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     @PostMapping(value = "/deduction/customer/confirm/before")
31     Result customerConfirmBefore(@RequestBody DeductionDto dto);
32
cf6861 33     /**
b3959b 34      * 客户确认划扣之前页面数据所有未确认数据
A 35      */
36     @PostMapping(value = "/deduction/customer/confirm/all/before")
37     Result customerConfirmAllBefore(@RequestBody DeductionDto dto);
38
39     /**
cf6861 40      * 获取用户划扣信息之前的医生信息
A 41      */
42     @PostMapping(value = "/deduction/project/before/doctor/info")
43     Result projectBeforeDoctorInfo(@RequestBody DeductionDto dto);
ab61e0 44
A 45     /**
46      * 新增划扣记录
47      */
48     @PostMapping(value = "/deduction/add")
49     Result addData(@RequestBody DeductionDto dto);
50
51     /**
52      * 修改划扣记录
53      */
54     @PostMapping(value = "/deduction/update")
55     Result updateData(@RequestBody DeductionDto dto);
56
57     /**
58      * 作废划扣记录
59      */
60     @PostMapping(value = "/deduction/rescinded")
61     Result rescindedData(@RequestBody DeductionDto dto);
62
63     /**
64      * 删除划扣记录
65      */
66     @PostMapping(value = "/deduction/delete")
67     Result deleteData(@RequestBody DeductionDto dto);
067cfb 68 }