|
|
|
@@ -97,6 +97,7 @@ public class CouponInjectServiceImpl implements CouponInjectService { |
|
|
|
if(cUsers.size()>inventory){ |
|
|
|
return new ResultData(Result.ERROR,"库存不足"); |
|
|
|
} |
|
|
|
record.setCouponName(wxCoupon.getTitle()); |
|
|
|
record.setSendAmount(cUsers.size()); |
|
|
|
couponInjectMapper.insertSelective(record); |
|
|
|
if(record.getSendType()==0) { |
|
|
|
|