fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponServiceImpl.java
@@ -667,6 +667,23 @@ } @Override public long countUsableRewardCoupon (Long uid) { if (uid == null) return 0; List<SystemCoupon> couponList = systemCouponService.getOrderCouponList(); if (couponList == null || couponList.size() == 0) return 0; List<Long> listCouponId = new ArrayList<Long>(); for (SystemCoupon systemCoupon : couponList) { listCouponId.add(systemCoupon.getId()); } return userSystemCouponMapper.countUsableByUid(uid, listCouponId); } @Transactional @Override