bug
This commit is contained in:
parent
f5805e7659
commit
3411d1d78e
@ -458,21 +458,21 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
||||
//折扣
|
||||
if (CollectionUtils.isNotEmpty(activeDiscountVOList)){
|
||||
for (ActiveDiscountPayVO activeDiscountPayVO : activeDiscountVOList) {
|
||||
if (activeDiscountPayVO.getParticipationCondition().equals("0")){
|
||||
//if (activeDiscountPayVO.getParticipationCondition().equals("0")){
|
||||
activeDiscountPayVO.setType("2");
|
||||
activeDiscountPayVO.setActiveDiscount(activeDiscountPayVO.getDiscount());
|
||||
resList.add(activeDiscountPayVO);
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
//满减
|
||||
if (CollectionUtils.isNotEmpty(activeFuletVOList)){
|
||||
for (ActiveDiscountPayVO activeDiscountPayVO : activeFuletVOList) {
|
||||
if (activeDiscountPayVO.getParticipationCondition().equals("0")){
|
||||
//if (activeDiscountPayVO.getParticipationCondition().equals("0")){
|
||||
activeDiscountPayVO.setActiveDiscount(activeDiscountPayVO.getDiscount());
|
||||
activeDiscountPayVO.setType("1");
|
||||
resList.add(activeDiscountPayVO);
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
//优惠券
|
||||
@ -485,6 +485,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
||||
}
|
||||
//折扣+优惠券
|
||||
for (ActiveDiscountPayVO activeDiscountPayVO : activeDiscountVOList) {
|
||||
if (activeDiscountPayVO.getParticipationCondition().equals("0")){
|
||||
for (CardFavorableRecordVO cardFavorableRecordVO : canUserCardFavorableList) {
|
||||
if(cardFavorableRecordVO.getType().equals("2") && !cardFavorableRecordVO.getExclusiveFunction().equals("0")){
|
||||
ActiveDiscountPayVO activeDiscountPayVO1 = new ActiveDiscountPayVO();
|
||||
@ -517,8 +518,11 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
//满减+优惠券
|
||||
for (ActiveDiscountPayVO activeDiscountPayVO : activeFuletVOList) {
|
||||
if (activeDiscountPayVO.getParticipationCondition().equals("0")){
|
||||
for (CardFavorableRecordVO cardFavorableRecordVO : canUserCardFavorableList) {
|
||||
if(cardFavorableRecordVO.getType().equals("2") && !cardFavorableRecordVO.getExclusiveFunction().equals("0")){
|
||||
ActiveDiscountPayVO activeDiscountPayVO1 = new ActiveDiscountPayVO();
|
||||
@ -549,7 +553,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
for (ActiveDiscountPayVO activeDiscountPayVO : resList) {
|
||||
double v = activeDiscountPayVO.getDiscount().doubleValue();
|
||||
@ -619,6 +623,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//会员等级优惠
|
||||
|
||||
Integer oilId = paymentActiveDTO.getOilId();
|
||||
|
Loading…
Reference in New Issue
Block a user