From 08efdb9fd3d36973a608762872ae116daf5bb139 Mon Sep 17 00:00:00 2001 From: xhxu Date: Thu, 1 Jun 2023 22:22:46 +0800 Subject: [PATCH] //..campaign --- .../java/com/iformall/service/impl/WxCampaignServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCampaignServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCampaignServiceImpl.java index 90a2979fe..eafb05727 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCampaignServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCampaignServiceImpl.java @@ -283,6 +283,8 @@ public class WxCampaignServiceImpl implements WxCampaignService { wxCouponChannel.setStatus(EnumCouponChannelStatus.STATUS_TAKE_OFFF.getCode()); wxCouponChannel.setUpdateDate(new Date()); wxCouponChannelMapper.updateById(wxCouponChannel); + + wxCouponChannelService.spuStatusSyncByCoupon(wxCouponChannel,wxCouponChannel.getCouponId()); } } } @@ -379,8 +381,8 @@ public class WxCampaignServiceImpl implements WxCampaignService { wxCouponChannelService.updateQrCode(wxCouponChannel,wxCouponChannel.getId(),wxCouponChannel.getType()); - wxCouponChannelService.spuStatusSyncByCoupon(wxCouponChannel,wxCouponChannel.getCouponId()); } + wxCouponChannelService.spuStatusSyncByCoupon(wxCouponChannel,couponId); } @Override