Commit ef957780 by wuwenlong

团购券支持多套餐配置

parent 11b24821
......@@ -265,7 +265,7 @@ public class SConsumerCouponServiceImpl extends ServiceImpl<SConsumerCouponMappe
if(!CollectionUtils.isEmpty(packs)){
List<String> packNames = packs.stream().map(SPack::getName).distinct().collect(Collectors.toList());
item.setIsAvailable(AvailableEnum.UNAVAILABLE.getCode());
item.setReason("优惠卷当前套餐不可用,【"+packNames.toString()+"】套餐可用");
item.setReason("优惠卷当前套餐不可用,"+packNames.toString()+"套餐可用");
}
}
}
......
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