‘linchangsheng’ 1 månad sedan
förälder
incheckning
d138760b13
1 ändrade filer med 0 tillägg och 3 borttagningar
  1. 0 3
      src/main/java/com/gree/mall/manager/logic/coupon/CouponLogic.java

+ 0 - 3
src/main/java/com/gree/mall/manager/logic/coupon/CouponLogic.java

@@ -280,9 +280,6 @@ public class CouponLogic {
                 couponUser.setCreateTime(new Date());
                 couponUserList.add(couponUser);
             }
-            if (userCouponList.size() > 0) {
-                userCouponService.saveBatch(userCouponList);
-            }
             if (couponUserList.size() > 0) {
                 couponUserService.saveBatch(couponUserList);
             }