Commit 42d56c0c authored by libin's avatar libin

Merge remote-tracking branch 'origin/dev' into dev

parents 113353ee e762121f
...@@ -64,7 +64,10 @@ public class ActivityRuleBiz extends BaseBiz<ActivityRuleMapper,ActivityRule> { ...@@ -64,7 +64,10 @@ public class ActivityRuleBiz extends BaseBiz<ActivityRuleMapper,ActivityRule> {
if(array.size()>0){ if(array.size()>0){
for(int i=0;i<array.size();i++){ for(int i=0;i<array.size();i++){
Integer id=array.getJSONObject(i).getInteger("id"); Integer id=array.getJSONObject(i).getInteger("id");
coupons.add(couponBiz.selectById(id)); Coupon coupon=couponBiz.selectById(id);
if (coupon!=null&&coupon.getIsDel()==0&&coupon.getStatus()==1){
coupons.add(couponBiz.selectById(id));
}
} }
} }
ruleVo.setCoupons(coupons); ruleVo.setCoupons(coupons);
......
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