|
|
@@ -590,6 +590,9 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
|
|
|
|
|
record.setCreateDate(new Date()); |
|
|
record.setCreateDate(new Date()); |
|
|
record.setUpdateDate(new Date()); |
|
|
record.setUpdateDate(new Date()); |
|
|
|
|
|
if (null == record.getBusiness()) { |
|
|
|
|
|
record.setBusiness(EnumBusiness.BUSINESS_ID6.getCode()); |
|
|
|
|
|
} |
|
|
wxCouponMapper.insert(record); |
|
|
wxCouponMapper.insert(record); |
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|
@@ -662,6 +665,9 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
record.setUpdateDate(new Date()); |
|
|
record.setUpdateDate(new Date()); |
|
|
|
|
|
if (null == record.getBusiness()) { |
|
|
|
|
|
record.setBusiness(EnumBusiness.BUSINESS_ID6.getCode()); |
|
|
|
|
|
} |
|
|
wxCouponMapper.updateById(record); |
|
|
wxCouponMapper.updateById(record); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|