Merge branch 'master' into master-test
New file |
| | |
| | | package com.hz.his.dto.order; |
| | | |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * 订单初始化实体 |
| | | */ |
| | | @Data |
| | | public class OrderInitVo { |
| | | |
| | | /**订单标识*/ |
| | | private String orderId; |
| | | |
| | | } |
| | |
| | | */ |
| | | @Data |
| | | public class PayAmountDto { |
| | | //必填 实际支付金额 |
| | | /**必填 实际支付金额*/ |
| | | private String amount; |
| | | //必填 支付方式 |
| | | /**必填 支付方式*/ |
| | | private String method; |
| | | //必填 商品/项目id/组合项标识(卡项支付时必传组合项标识) |
| | | /**必填 商品/项目id/组合项标识(卡项支付时必传组合项标识)*/ |
| | | private String commonId; |
| | | |
| | | //非必填 权益类型:卡项支付必传 |
| | | /**非必填 权益类型:卡项支付必传*/ |
| | | private String cardEquityId; |
| | | //非必填 卡包标识:卡项支付必传 |
| | | /**非必填 卡包标识:卡项支付必传*/ |
| | | private String userCardId; |
| | | } |
| | |
| | | */ |
| | | @PostMapping(value = "/order/whole/refund") |
| | | Result wholeRefund(@RequestBody OrderRefundDto orderRefundDto); |
| | | |
| | | /** |
| | | * 重新初始化订单金额 |
| | | * 根据支付记录去重新算各种金额 |
| | | */ |
| | | @PostMapping(value = "/order/init/order-money") |
| | | Result initOrderMoney(@RequestBody OrderInitVo orderInitVo); |
| | | } |