chenjiahe
2023-09-11 9bbc8a62f2b6af23d619156dc6102503c12709a3
提交 | 用户 | age
ddd881 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
23fc8c 4 import com.hz.his.dto.aduit.AduitDto;
88e548 5 import com.hz.his.dto.order.*;
c7c6b0 6 import com.hz.his.vo.order.refund.RefundCancelVo;
ddd881 7 import org.springframework.cloud.openfeign.FeignClient;
e31143 8 import org.springframework.web.bind.annotation.PostMapping;
Z 9 import org.springframework.web.bind.annotation.RequestBody;
10 import org.springframework.web.bind.annotation.RequestHeader;
3ec52c 11
ddd881 12 /**
F 13  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
14  */
39a067 15 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-order")
ddd881 16 public interface SPhipOrderService {
F 17
18     /**
5bd668 19      * 开放平台-新-新增订单更新至phis (废弃)
ddd881 20      */
F 21     @PostMapping(value = "/newSync/order/add")
b7d12e 22     Result createOrder(@RequestBody OrderCreateDto params);
ddd881 23
F 24     /**
5bd668 25      * 开放平台-新-订单状态更新至phis (废弃)
ddd881 26      */
F 27     @PostMapping(value = "/newSync/order/orderUpdate")
0937f1 28     Result updateOrderStatus(@RequestBody OrdersTotalDto params);
ddd881 29
F 30     /**
5bd668 31      * 开放平台-新-订单结账更新至phis (废弃)
ddd881 32      */
F 33     @PostMapping(value = "/newSync/order/pay")
b7d12e 34     Result payOrderSuc(@RequestBody OrderPayDto params);
ddd881 35
F 36     /**
5bd668 37      * 开放平台-新-订单退款更新至phis (废弃)
ddd881 38      */
F 39     @PostMapping(value = "/newSync/order/refund")
74df3f 40     Result refundOrder(@RequestBody OrderRefundDto params);
ddd881 41
F 42     /**
5bd668 43      * 开放平台-新-取消订单更新至phis (废弃)
ddd881 44      */
F 45     @PostMapping(value = "/newSync/order/cancel")
74df3f 46     Result cancelOrder(@RequestBody OrderRefundDto params);
ddd881 47
90b4c6 48     /**
Z 49      * 开放平台-同步中心心跳退款流程
50      */
51     @PostMapping(value = "/refund/syn/refund")
52     Result synRefund(@RequestBody OrderRefundDto dto, @RequestHeader("appIdCode") String appIdCode);
88e548 53
3ec52c 54
88e548 55     /**
3ec52c 56      * 开放平台-开单
0cfce0 57      * 实体转化用 CreateOrderReturnDto
88e548 58      */
3ec52c 59     @PostMapping(value = "/order/add")
d7199c 60     Result orderAdd(@RequestBody OrderPHisDto dto);
3ec52c 61
Z 62     /**
63      * 开放平台-结账
64      */
65     @PostMapping(value = "/order/pay")
d7199c 66     Result orderPay(@RequestBody PayDto dto);
97204c 67
F 68     /**
69      * 开放平台-用户确认订单
70      */
71     @PostMapping(value = "/order/customer/confirm")
72     Result customerConfirm(@RequestBody OrderInfoDto orderInfoDto);
73
1d0321 74     /**
Z 75      * 开放平台-判断订单是否支持取消已支付的订单
76      */
77     @PostMapping(value = "/order/cancel/verification")
2286f8 78     Result cancelVerification(@RequestBody CancelOrderDto cancelOrderDto);
1d0321 79     /**
Z 80      * 开放平台-取消订单(新)
267119 81      * data 实体转化用 CancelOrderReturnDto
1d0321 82      */
3a0ab7 83     @PostMapping(value = "/order/cancel/v3")
2286f8 84     Result cancel(@RequestBody CancelOrderDto cancelOrderDto);
1d0321 85      /**
Z 86      * 开放平台-根据订单id获取退款单信息
87      */
88     @PostMapping(value = "/order/refundNote/list")
2286f8 89     Result noteList(@RequestBody OrderRefundNoteListDto orderRefundNoteListDto);
1d0321 90     /**
Z 91      * 开放平台-确认退款单
92      */
93     @PostMapping(value = "/order/refundNote/confirm")
3a0ab7 94     Result noteConfirm(@RequestBody OrderRefundNoteListDto orderRefundNoteListDto);
1d0321 95
12e75a 96     /**
Z 97      * 开放平台-查询订单支付集合
98      */
99     @PostMapping(value = "/order/get/ConsumePay")
100     Result getConsumePay(@RequestBody PayDto dto);
101
23fc8c 102     /**
Z 103      * 开放平台-营销助手订单折扣审核通过/拒绝接口
104      */
105     @PostMapping(value = "/audit/marketing/aduit")
106     Result marketingAduit(@RequestBody AduitDto dto);
107
e0d7fa 108     /**
039978 109      * 开放平台-营销助手订单支付审核通过/拒绝接口
F 110      */
111     @PostMapping(value = "/audit/marketing/aduit/pay")
112     Result marketingAduitPay(@RequestBody AduitDto dto);
113
114     /**
e0d7fa 115      * 开放平台-营销助手订单取消审核通过/拒绝接口
Z 116      */
117     @PostMapping(value = "/audit/order/cancel")
118     Result cancelApproval(@RequestBody AduitDto aduitDto);
1d0321 119
96eecc 120     /**
d965b9 121      * 开放平台-开单
W 122      * 实体转化用 CreateOrderReturnDto
123      */
124     @PostMapping(value = "/order/create")
125     Result orderCreate(@RequestBody OrderPHisDto dto);
126
127     /**
128      * 开放平台-结账
129      */
130     @PostMapping(value = "/order/payMoney")
131     Result orderPayMoney(@RequestBody PayDto dto);
132
133
0e563b 134     /**
96eecc 135      * 开放平台-部分退款
Z 136      * data 实体转化用 CancelOrderReturnDto
137      */
138     @PostMapping(value = "/order/partial/refund")
139     Result partialRefund(@RequestBody OrderRefundDto orderRefundDto);
140
4ac5cf 141     /**
Z 142      * 部分退款显示数据接口
143      * data 实体转化用 OrderDto
144      */
145     @PostMapping(value = "/order/refund/details")
e31143 146     Result refundDetails(OrderRefundDto orderRefundDto);
4ac5cf 147
Z 148     /**
149      * 选完数量点击下一步显示数据接口
150      * data 实体转化用 OrderOrderRefundDtoDto
151      */
152     @PostMapping(value = "/order/refund/nextStep")
153     Result nextStep(OrderRefundDto orderRefundDto);
154
0b1648 155     /**
Z 156      * 开放平台-营销助手订单部分退款审核通过/拒绝接口
157      */
158     @PostMapping(value = "/audit/order/partRefund")
159     Result partRefundApproval(@RequestBody AduitDto aduitDto);
c8ce31 160
Z 161     /**
162      * 开放平台-全部退款
163      * data 实体转化用 CancelOrderReturnDto
164      */
165     @PostMapping(value = "/order/whole/refund")
166     Result wholeRefund(@RequestBody OrderRefundDto orderRefundDto);
ec10c8 167
C 168     /**
169      * 重新初始化订单金额
170      * 根据支付记录去重新算各种金额
171      */
baff8d 172     @PostMapping(value = "/order/init/order-money")
ec10c8 173     Result initOrderMoney(@RequestBody OrderInitVo orderInitVo);
c7c6b0 174
C 175     /**
176      * 开放平台-作废退款
177      * data 实体转化用 无
178      */
179     @PostMapping(value = "/order/refund/cancel")
180     Result refundCancel(@RequestBody RefundCancelVo refundCancelVo);
181
26b23b 182
F 183     /**
184      * 计算订单应付金额
185      */
186     @PostMapping(value = "/order/countOrderShouldTotal")
187     Result countOrderShouldTotal(@RequestBody OrderCountShouldTotalDto dto);
188
189
ddd881 190 }