|
|
@@ -7,6 +7,7 @@ import com.etotem.cfc.entity.UserCoupon;
|
|
|
import com.etotem.cfc.mapper.CouponGrantLogMapper;
|
|
|
import com.etotem.cfc.mapper.CouponMapper;
|
|
|
import com.etotem.cfc.mapper.UserCouponMapper;
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
@@ -34,6 +35,7 @@ public class CouponService {
|
|
|
private CouponGrantLogMapper couponGrantLogMapper;
|
|
|
|
|
|
@Resource
|
|
|
+ @Lazy
|
|
|
private MembershipService membershipService;
|
|
|
|
|
|
public List<Coupon> listAvailable(Long userId) {
|