Commit 9539de93 authored by hezhen's avatar hezhen

Merge branch 'hz_master' into dev

parents 35fa2eb4 e66dae56
......@@ -64,7 +64,10 @@ public class ActivityRuleBiz extends BaseBiz<ActivityRuleMapper,ActivityRule> {
if(array.size()>0){
for(int i=0;i<array.size();i++){
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);
......
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