|
|
|
@@ -62,10 +62,7 @@ public class WxCampaignServiceImpl implements WxCampaignService { |
|
|
|
} |
|
|
|
record = wxCampaignMapper.selectByPrimaryKey(record); |
|
|
|
if (record.getStatus() == 0) { |
|
|
|
List<String> ids= JSONArray.parseArray(record.getCouponIds(),String.class); |
|
|
|
if (ids.size() > 0) { |
|
|
|
addOrUpdateBatch(ids, record); |
|
|
|
} |
|
|
|
addOrUpdateBatch(JSONArray.parseArray(record.getCouponIds(),String.class), record); |
|
|
|
} else { |
|
|
|
delBatch(record); |
|
|
|
} |
|
|
|
|