|
|
|
@@ -127,8 +127,10 @@ public class WxActivityServiceImpl implements WxActivityService { |
|
|
|
WxCampaign campaign = new WxCampaign(); |
|
|
|
campaign.setProduceId(wxActivity.getId()); |
|
|
|
WxCampaign wxCampaign = wxCampaignMapper.selectOne(new QueryWrapper(campaign)); |
|
|
|
wxCampaign.setStatus(EnumCampaignStatus.STATUS_TAKE_OFFF.getCode()); |
|
|
|
wxCampaignMapper.updateById(wxCampaign); |
|
|
|
if(wxCampaign != null){ |
|
|
|
wxCampaign.setStatus(EnumCampaignStatus.STATUS_TAKE_OFFF.getCode()); |
|
|
|
wxCampaignMapper.updateById(wxCampaign); |
|
|
|
} |
|
|
|
} |
|
|
|
return new ResultData(Result.SUCCESS, "操作成功"); |
|
|
|
} |
|
|
|
|