mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
【BUG】修改限时优惠和会员优惠显示最便宜相反的问题
This commit is contained in:
parent
0496ac237c
commit
51b8fe2eca
@ -106,9 +106,9 @@ public class AppTradeOrderController {
|
||||
|
||||
if(skuDiscount != null && skuVip != null){
|
||||
if(skuDiscount.getPrice() > skuVip.getPrice()){
|
||||
skus.add(skuDiscount);
|
||||
}else{
|
||||
skus.add(skuVip);
|
||||
}else{
|
||||
skus.add(skuDiscount);
|
||||
}
|
||||
}else if(skuDiscount != null){
|
||||
skus.add(skuDiscount);
|
||||
@ -335,7 +335,7 @@ public class AppTradeOrderController {
|
||||
RewardActivityMatchRespDTO.Rule rule = rewardActivityMatchRespDTO.getRules().get(0);
|
||||
return AppTradeProductSettlementRespVO.Reward.builder().
|
||||
rewardActivity("满" + rule.getLimit() / 100 + (Objects.equals(rewardActivityMatchRespDTO.getConditionType(), PromotionConditionTypeEnum.PRICE.getType())?"元":"件"+"减") +rule.getDiscountPrice() / 100)
|
||||
.rewardId(rewardActivityMatchRespDTO.getId()).build();
|
||||
.id(rewardActivityMatchRespDTO.getId()).build();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user