|
|
|
@@ -448,6 +448,7 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
|
|
|
|
final IdWorker idWorker = IdWorker.get(); |
|
|
|
if (record.getId() == null) { |
|
|
|
record.setId(idWorker.nextId()); |
|
|
|
|
|
|
|
List<WxCouponMerchantDto> wxCouponMerchantDtoList = new ArrayList<>(); |
|
|
|
merchantParamList.forEach(merchantParam -> { |
|
|
|
@@ -479,7 +480,6 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
couponPasswordService.mkPasswords(record, record.getId(), record.getInventory()); |
|
|
|
} |
|
|
|
|
|
|
|
record.setId(idWorker.nextId()); |
|
|
|
record.setCreateDate(new Date()); |
|
|
|
record.setUpdateDate(new Date()); |
|
|
|
wxCouponMapper.insert(record); |
|
|
|
|