Commit 0d435a05 by huluobin

fix

parent 196c5243
......@@ -19,6 +19,7 @@ import com.gogirl.infrastructure.mapper.order.serve.OrderManageMapper;
import com.gogirl.infrastructure.mapper.order.serve.OrderServeMapper;
import com.gogirl.shared.market.SetUpOuterCouponCommand;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
......@@ -41,7 +42,7 @@ public class CouponCustomerRelevanceServiceImpl extends ServiceImpl<CouponCustom
private CouponCustomerRelevanceMapper couponCustomerRelevanceMapper;
@Resource
private CouponMapper couponMapper;
@Resource
@Autowired
private MarketService marketService;
@Resource
private DiscountConfigMapper discountConfigMapper;
......
......@@ -46,7 +46,6 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon> impleme
@Resource
private MarketService marketService;
@Override
public Coupon checkNewCustomer(Integer customerId) {
//新用户配置
......
......@@ -33,6 +33,7 @@ import com.gogirl.shared.market.SetUpOuterCouponCommand;
import com.google.common.collect.Lists;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
......@@ -52,7 +53,7 @@ public class MarketServiceImpl implements MarketService {
TimesCardOrderServeDetailMapper timesCardOrderServeDetailMapper;
@Resource
private CouponMapper couponMapper;
@Resource
@Autowired
private CouponCustomerRelevanceService couponCustomerRelevanceService;
@Resource
private CouponOrderRelevanceService couponOrderRelevanceService;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment