启动报错

This commit is contained in:
秦鸿展
2026-06-11 11:39:38 +08:00
parent 0c69a6ef36
commit df558e0103
2 changed files with 4 additions and 0 deletions
@@ -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
@@ -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;