|
|
|
@@ -100,6 +100,14 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { |
|
|
|
wxScreenAdService.updateStatusByCouponChannelId(record.getId(),record.getTenantId(),EnumScreenAdStatus.INVALID.getCode()); |
|
|
|
//下架拼团券 |
|
|
|
wxOrderService.updateOrderGroupStatusByCouponChannelId(record.getId(), record.getTenantId(), EnumOrderStatus.ORDER_STATUS_COOPERATING_CANCEL.getCode()); |
|
|
|
//卡-转赠状态 |
|
|
|
if (orignal.getType().equals(EnumCouponChannelType.COUPON_CHANNEL_ID_CARD.getCode())) { |
|
|
|
WxCoupon wxCoupon = new WxCoupon(); |
|
|
|
wxCoupon.setId(orignal.getCouponId()); |
|
|
|
wxCoupon.setSupportTransfer(EnumCouponTransfer.NO.getCode()); |
|
|
|
wxCoupon.setUpdateDate(new Date()); |
|
|
|
wxCouponService.update(wxCoupon); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
record.setUpdateDate(new Date()); |
|
|
|
|