启动报错
This commit is contained in:
+2
@@ -3,6 +3,7 @@ package com.mhd.user.application.service;
|
||||
import com.mhd.common.redis.service.RedisLock;
|
||||
import com.mhd.system.api.model.LoginUser;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@@ -12,6 +13,7 @@ import javax.annotation.Resource;
|
||||
@Slf4j
|
||||
public class AsyncUserShipperMasterDataSyncService {
|
||||
|
||||
@Lazy
|
||||
@Resource
|
||||
private UserShipperMasterDataSyncService userShipperMasterDataSyncService;
|
||||
@Resource
|
||||
|
||||
+2
@@ -20,6 +20,7 @@ import com.mhd.user.interfaces.vo.ShipperMasterDataSyncResultVo;
|
||||
import com.mhd.user.interfaces.vo.ShipperMasterDataSyncTimeVo;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.sf.json.JSONObject;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -46,6 +47,7 @@ public class UserShipperMasterDataSyncService {
|
||||
private UserShipperMdmSyncMapper userShipperMdmSyncMapper;
|
||||
@Resource
|
||||
private RedisLock redisLock;
|
||||
@Lazy
|
||||
@Resource
|
||||
private AsyncUserShipperMasterDataSyncService asyncUserShipperMasterDataSyncService;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user