Commit a6c99dc2 by 胡超

Merge branch 'feature_20200514_1.9.23_discountActiTips'

parents 8664b589 ae454937
......@@ -147,13 +147,14 @@ public class FullPromotionService implements IPromotionService {
if (Objects.equals(ActivityTypeEnum.TYPE_12.getCode(), activityResponseDto.getActivityType())) {
int len = benefitBeanDtos.size();
// // 购物车中无商品或者存在与满减互斥的活动
for (int i = len - 1, j = 0; i >= 0 && j < 2; i--, j++) {
for (int i = len - 1; i >= 0; i--) {
benefitBeanDto = benefitBeanDtos.get(i);
messageBuilder.append("满 <span style=\"color:#fa5555\">")
.append(WebUtil.formatAmount(benefitBeanDto.getThresholdAmount() * 1.00 / 100))
.append("</span> 减 <span style=\"color:#fa5555\">")
.append(WebUtil.formatAmount(benefitBeanDto.getDiscountAmount() * 1.00 / 100))
.append("</span> 元");
if (i > 0) messageBuilder.append(",");
}
}
}
......
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