...
|
...
|
@@ -239,7 +239,7 @@ public class CouponServiceImpl implements ICouponService,IBusinessExportService{ |
|
|
|
|
|
// 已经有了优惠券的发放记录
|
|
|
UserCouponNum userCouponNum = userCouponMapper.selectByCouponId(coupon.getId());
|
|
|
if (Objects.isNull(userCouponNum) && userCouponNum.getCnt()>0){
|
|
|
if (Objects.nonNull(userCouponNum) && userCouponNum.getCnt()>0){
|
|
|
LOGGER.info("sendNum bigger than 0, name|couponNu|remark only can update, couponId {}", req.getId());
|
|
|
CouponSaveUpdateReq couponSaveUpdateReq = new CouponSaveUpdateReq();
|
|
|
couponSaveUpdateReq.setId(coupon.getId());
|
...
|
...
|
|