Commit 0a4db5f8 by huluobin

延迟加载

parent 9c5c1dba
......@@ -20,6 +20,7 @@ import com.gogirl.infrastructure.mapper.order.serve.OrderServeMapper;
import com.gogirl.infrastructure.mapper.xcx.GogirlConfigMapper;
import com.gogirl.shared.market.SetUpOuterCouponCommand;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
......@@ -43,6 +44,8 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon> impleme
private OrderManageMapper orderManageMapper;
@Resource
private GogirlConfigMapper gogirlConfigMapper;
@Lazy
@Resource
private MarketService marketService;
......
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