Commit b1c4ba43 by 徐康

权益卡金额

parent 827afaa7
...@@ -221,7 +221,7 @@ public class OrderAdapter { ...@@ -221,7 +221,7 @@ public class OrderAdapter {
.sequence(orderAccountIndex++) .sequence(orderAccountIndex++)
.actualPrice(discountDeliveryAmount) .actualPrice(discountDeliveryAmount)
.build(); .build();
if(hasDeliveryMonthCard) { if(hasDeliveryMonthCard && StringUtils.isNotBlank(storeResponseDto.getBenefitCardDiscountAmount())) {
createOrderAccountDto.setActualPrice(Long.valueOf(storeResponseDto.getBenefitCardDiscountAmount())); createOrderAccountDto.setActualPrice(Long.valueOf(storeResponseDto.getBenefitCardDiscountAmount()));
} }
orderAccountDtos.add(createOrderAccountDto); orderAccountDtos.add(createOrderAccountDto);
......
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