Merge branch 'master' into master-prod-new
New file |
| | |
| | | package com.hz.his.dto.order; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 下单,携带积分信息 |
| | | * @date 2023-11-07 |
| | | */ |
| | | @Data |
| | | public class OrderItemIntegralVo { |
| | | /**必填 原价积分*/ |
| | | private BigDecimal originalIntegral; |
| | | /**必填 售价积分*/ |
| | | private BigDecimal saleIntegral; |
| | | /**必填 原价总积分*/ |
| | | private BigDecimal originalTotal; |
| | | /**必填 售价总积分*/ |
| | | private BigDecimal saleTotal; |
| | | } |
| | |
| | | /**非必填 是否限购(0:否,1:是),默认:1*/ |
| | | private String isLimitBug; |
| | | |
| | | /**过渡商品类型必填信息*/ |
| | | private OrderTransitionGoodsVo orderTransitionGoods; |
| | | /**商品积分信息,这里不为空就以这里为主*/ |
| | | private OrderItemIntegralVo orderItemIntegral; |
| | | |
| | | /**非必填 卡包标识 */ |
| | | private List<CardItemInfoDto> cardItemInfoIds; |
| | | |
| | |
| | | |
| | | /** 可退总金额(用于系统返回参数计算)*/ |
| | | private BigDecimal approveRefundTotal = BigDecimal.ZERO; |
| | | /** 可退总积分(用于系统返回参数计算)*/ |
| | | private BigDecimal approveRefundIntegral = BigDecimal.ZERO; |
| | | |
| | | /** 平摊积分(用于系统返回参数计算)*/ |
| | | private BigDecimal averageIntegral = BigDecimal.ZERO; |
| | | |
| | | } |
| | |
| | | |
| | | /** 可退总金额(用于系统返回参数计算)*/ |
| | | private BigDecimal approveRefundTotal = BigDecimal.ZERO; |
| | | /** 可退总积分(用于系统返回参数计算)*/ |
| | | private BigDecimal approveRefundIntegral = BigDecimal.ZERO; |
| | | |
| | | /** 平摊积分(用于系统返回参数计算)*/ |
| | | private BigDecimal averageIntegral = BigDecimal.ZERO; |
| | | |
| | | } |
| | |
| | | |
| | | /** 退款的方式集合 */ |
| | | private List<OrderRefundNoteDto> orderRefundNoteDtos; |
| | | /**装载已经退款的了退款方式,但是也要同步到CRM,要与orderRefundNoteDtos(上面那个参数)做交叉排查*/ |
| | | private List<OrderRefundNoteDto> orderRefundModelList; |
| | | |
| | | //操作人员id |
| | | private String operationId; |
New file |
| | |
| | | package com.hz.his.dto.order; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * 下单,过渡商品信息 |
| | | * 传商户系统的商品信息 |
| | | * @author CJH |
| | | * @date 2023-11-08 |
| | | */ |
| | | @Data |
| | | public class OrderTransitionGoodsVo { |
| | | /**商品标识-必填*/ |
| | | private String goodsId; |
| | | /**商品编号-必填*/ |
| | | private String goodsNo; |
| | | /**商品名称-必填*/ |
| | | private String goodsName; |
| | | /**商品原价-必填*/ |
| | | private BigDecimal oriPrice; |
| | | /**商品售价-必填*/ |
| | | private BigDecimal curPrice; |
| | | |
| | | /**原价总价-必填*/ |
| | | private BigDecimal oriTotal; |
| | | /**售价总价(应付金额)-必填*/ |
| | | private BigDecimal curTotal; |
| | | } |
| | |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * 结账金额集合 |
| | | * |
| | |
| | | @Data |
| | | public class PayAmountDto { |
| | | /**必填 实际支付金额*/ |
| | | private String amount; |
| | | private BigDecimal amount; |
| | | /**必填 支付方式*/ |
| | | private String method; |
| | | /**必填 商品/项目id/组合项标识(卡项支付时必传组合项标识)*/ |
| | | private String commonId; |
| | | |
| | | /**非必填 商品/项目id/组合项标识(卡项支付时必传组合项标识)*/ |
| | | private String commonId; |
| | | /**非必填 权益类型:卡项支付必传*/ |
| | | private String cardEquityId; |
| | | /**非必填 卡包标识:卡项支付必传*/ |