|
@@ -621,7 +621,7 @@ public class CouponLogic {
|
|
|
List<String> couponIds = list.stream().map(CouponUser::getCouponId).collect(Collectors.toList());
|
|
|
|
|
|
|
|
|
- List<Coupon> couponList = couponService.lambdaQuery().eq(Coupon::getCouponId, couponIds).list();
|
|
|
+ List<Coupon> couponList = couponService.lambdaQuery().in(Coupon::getCouponId, couponIds).list();
|
|
|
List<Coupon> coupons = new ArrayList<>();
|
|
|
for (Coupon coupon : couponList) {
|
|
|
Integer count = userCouponService.lambdaQuery()
|