Commit 454bc723 by xiaoer.li@freemud.com

modify:tis

parent 59b7bb7a
...@@ -192,14 +192,16 @@ public class FullPromotionService implements IPromotionService { ...@@ -192,14 +192,16 @@ public class FullPromotionService implements IPromotionService {
else if (GiftTypeEnum.TYPE_2.getType().equals(activityResponseDto.getActivitySubType())) { else if (GiftTypeEnum.TYPE_2.getType().equals(activityResponseDto.getActivitySubType())) {
notInShopping.setTipType(7); notInShopping.setTipType(7);
} }
//int len = benefitBeanDto.getSendGoodsList().size();
for (BenefitBeanDto beanDto : benefitBeanDtos) { for (BenefitBeanDto beanDto : benefitBeanDtos) {
notInShopping.setSatisfy(WebUtil.formatAmount(beanDto.getThresholdAmount() * 1.00 / 100).toString()); notInShopping.setSatisfy(WebUtil.formatAmount(beanDto.getThresholdAmount() * 1.00 / 100).toString());
int len = beanDto.getSendGoodsList().size(); int len = beanDto.getSendGoodsList().size();
List<ActivityList.SendGoods> sends = new ArrayList(); List<ActivityList.SendGoods> sends = new ArrayList();
for (int i = len - 1; i >= 0; i--) { for (int i = len - 1; i >= 0; i--) {
ActivityList.SendGoods goods = new ActivityList.SendGoods(); ActivityList.SendGoods goods = new ActivityList.SendGoods();
goods.setQty(goods.getQty()); goods.setQty(beanDto.getSendGoodsList().get(i).getSendNumber());
goods.setGoodsName(goods.getGoodsName()); goods.setGoodsName(beanDto.getSendGoodsList().get(i).getGoodsName());
sends.add(goods); sends.add(goods);
} }
notInShopping.setSends(sends); notInShopping.setSends(sends);
......
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