Commit 0d435a05 by huluobin

fix

parent 196c5243
...@@ -19,6 +19,7 @@ import com.gogirl.infrastructure.mapper.order.serve.OrderManageMapper; ...@@ -19,6 +19,7 @@ import com.gogirl.infrastructure.mapper.order.serve.OrderManageMapper;
import com.gogirl.infrastructure.mapper.order.serve.OrderServeMapper; import com.gogirl.infrastructure.mapper.order.serve.OrderServeMapper;
import com.gogirl.shared.market.SetUpOuterCouponCommand; import com.gogirl.shared.market.SetUpOuterCouponCommand;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -41,7 +42,7 @@ public class CouponCustomerRelevanceServiceImpl extends ServiceImpl<CouponCustom ...@@ -41,7 +42,7 @@ public class CouponCustomerRelevanceServiceImpl extends ServiceImpl<CouponCustom
private CouponCustomerRelevanceMapper couponCustomerRelevanceMapper; private CouponCustomerRelevanceMapper couponCustomerRelevanceMapper;
@Resource @Resource
private CouponMapper couponMapper; private CouponMapper couponMapper;
@Resource @Autowired
private MarketService marketService; private MarketService marketService;
@Resource @Resource
private DiscountConfigMapper discountConfigMapper; private DiscountConfigMapper discountConfigMapper;
......
...@@ -46,7 +46,6 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon> impleme ...@@ -46,7 +46,6 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon> impleme
@Resource @Resource
private MarketService marketService; private MarketService marketService;
@Override @Override
public Coupon checkNewCustomer(Integer customerId) { public Coupon checkNewCustomer(Integer customerId) {
//新用户配置 //新用户配置
......
...@@ -33,6 +33,7 @@ import com.gogirl.shared.market.SetUpOuterCouponCommand; ...@@ -33,6 +33,7 @@ import com.gogirl.shared.market.SetUpOuterCouponCommand;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import lombok.Data; import lombok.Data;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -52,7 +53,7 @@ public class MarketServiceImpl implements MarketService { ...@@ -52,7 +53,7 @@ public class MarketServiceImpl implements MarketService {
TimesCardOrderServeDetailMapper timesCardOrderServeDetailMapper; TimesCardOrderServeDetailMapper timesCardOrderServeDetailMapper;
@Resource @Resource
private CouponMapper couponMapper; private CouponMapper couponMapper;
@Resource @Autowired
private CouponCustomerRelevanceService couponCustomerRelevanceService; private CouponCustomerRelevanceService couponCustomerRelevanceService;
@Resource @Resource
private CouponOrderRelevanceService couponOrderRelevanceService; 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