|
|
|
@@ -67,7 +67,6 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { |
|
|
|
record.setId(idWorker.nextId()); |
|
|
|
wxCouponChannelMapper.insertSelective(record); |
|
|
|
} else { |
|
|
|
|
|
|
|
if (record.getCouponId() != null && record.getStatus() != null) { |
|
|
|
WxCouponChannel orignal = getById(record.getId()); |
|
|
|
if (orignal.getStatus().equals(EnumCouponChannelStatus.STATUS_TAKE_OFFF.getCode()) |
|
|
|
@@ -100,6 +99,7 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { |
|
|
|
wxOrderService.updateOrderGroupStatusByCouponChannelId(record.getId(), record.getTenantId(), EnumOrderStatus.ORDER_STATUS_COOPERATING_CANCEL.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
record.setUpdateDate(new Date()); |
|
|
|
wxCouponChannelMapper.updateByPrimaryKeySelective(record); |
|
|
|
} |
|
|
|
return new ResultData(); |
|
|
|
|