乱七八糟折扣计算 不包括会员整单折扣
This commit is contained in:
@@ -70,14 +70,13 @@ public class MkDiscountActivityServiceImpl extends ServiceImpl<MkDiscountActivit
|
||||
throw new CzgException("满减活动与优惠券不可共用");
|
||||
}
|
||||
//检查是否开启了限时折扣
|
||||
if (limitRateShare && activityDTO.getDiscountShare() == 0) {
|
||||
throw new CzgException("满减活动与限时折扣不可共用");
|
||||
|
||||
}
|
||||
// if (limitRateShare && activityDTO.getDiscountShare() == 0) {
|
||||
// throw new CzgException("满减活动与限时折扣不可共用");
|
||||
// }
|
||||
//检查是否开启了会员抵扣
|
||||
if (vipShare && activityDTO.getVipPriceShare() == 0) {
|
||||
throw new CzgException("满减活动与会员价不可共用");
|
||||
}
|
||||
// if (vipShare && activityDTO.getVipPriceShare() == 0) {
|
||||
// throw new CzgException("满减活动与会员价不可共用");
|
||||
// }
|
||||
//检查是否开启了积分抵扣
|
||||
if (pointsShare && activityDTO.getPointsShare() == 0) {
|
||||
throw new CzgException("满减活动与积分抵扣不可共用");
|
||||
|
||||
Reference in New Issue
Block a user