Commit 8e1a0e92 by 徐康

Merge remote-tracking branch 'origin/feature/xukang_20200321_麦咖啡p5v9' into…

Merge remote-tracking branch 'origin/feature/xukang_20200321_麦咖啡p5v9' into feature/xukang_20210321_麦咖啡p5v9
parents e0469f56 1fd51752
...@@ -311,7 +311,7 @@ public class OrderAdapter { ...@@ -311,7 +311,7 @@ public class OrderAdapter {
if(shoppingCartGoodsDto.getMonthCardDiscount() != null && shoppingCartGoodsDto.getMonthCardDiscount().getDiscountAmount() != 0) { if(shoppingCartGoodsDto.getMonthCardDiscount() != null && shoppingCartGoodsDto.getMonthCardDiscount().getDiscountAmount() != 0) {
CreateOrderAccountRequest createOrderAccountDto = CreateOrderAccountRequest.builder() CreateOrderAccountRequest createOrderAccountDto = CreateOrderAccountRequest.builder()
.accountId("") .accountId("")
.name("月享卡优惠总金额") .name(shoppingCartGoodsDto.getMonthCardDiscount().getDiscountDesc())
.price(shoppingCartGoodsDto.getMonthCardDiscount().getDiscountAmount()) .price(shoppingCartGoodsDto.getMonthCardDiscount().getDiscountAmount())
.accountType(QueryOrderAccountType.MONTH_CARD_TOTAL_DISCOUNT) .accountType(QueryOrderAccountType.MONTH_CARD_TOTAL_DISCOUNT)
.sequence(orderAccountIndex++) .sequence(orderAccountIndex++)
...@@ -1398,6 +1398,7 @@ public class OrderAdapter { ...@@ -1398,6 +1398,7 @@ public class OrderAdapter {
} }
if (OldOrderAccountType.MONTH_CARD_TOTAL_DISCOUNT.getCode().equals(accountBean.getType())) { if (OldOrderAccountType.MONTH_CARD_TOTAL_DISCOUNT.getCode().equals(accountBean.getType())) {
responseVo.setMonthCardTotalDiscount(accountBean.getPrice()); responseVo.setMonthCardTotalDiscount(accountBean.getPrice());
responseVo.setMonthCardTotalDiscountName(accountBean.getName());
} }
if (OldOrderAccountType.FREIGHT_COUPON.getCode().equals(accountBean.getType())) { if (OldOrderAccountType.FREIGHT_COUPON.getCode().equals(accountBean.getType())) {
responseVo.setFreightCouponName(accountBean.getName()); responseVo.setFreightCouponName(accountBean.getName());
......
...@@ -118,6 +118,10 @@ public class QueryOrderResponseVo { ...@@ -118,6 +118,10 @@ public class QueryOrderResponseVo {
*/ */
private Long monthCardTotalDiscount; private Long monthCardTotalDiscount;
/** /**
* 月享卡优惠总金额
*/
private String monthCardTotalDiscountName;
/**
* 限时折扣优惠金额 * 限时折扣优惠金额
*/ */
private Long discountLimitAmount; private Long discountLimitAmount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment