导入修复
This commit is contained in:
parent
af18c1ce8b
commit
f764c944f6
@ -12,6 +12,7 @@ import com.zhgd.xmgl.modules.basicdata.mapper.SystemUserMapper;
|
|||||||
import com.zhgd.xmgl.util.DateUtils;
|
import com.zhgd.xmgl.util.DateUtils;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Lazy;
|
||||||
import org.springframework.scheduling.annotation.Async;
|
import org.springframework.scheduling.annotation.Async;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@ -30,12 +31,16 @@ import java.util.stream.Collectors;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@Component
|
@Component
|
||||||
public class AsyncCheckingPoint {
|
public class AsyncCheckingPoint {
|
||||||
|
@Lazy
|
||||||
@Autowired
|
@Autowired
|
||||||
private IMqttSender mqttPushClient;
|
private IMqttSender mqttPushClient;
|
||||||
|
@Lazy
|
||||||
@Autowired
|
@Autowired
|
||||||
private SystemUserMapper systemUserMapper;
|
private SystemUserMapper systemUserMapper;
|
||||||
|
@Lazy
|
||||||
@Autowired
|
@Autowired
|
||||||
private AsyncCommon asyncCommon;
|
private AsyncCommon asyncCommon;
|
||||||
|
@Lazy
|
||||||
@Autowired
|
@Autowired
|
||||||
private NoticeMapper noticeMapper;
|
private NoticeMapper noticeMapper;
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,7 @@ import com.zhgd.xmgl.modules.checking.mapper.CheckingPointAlarmMapper;
|
|||||||
import com.zhgd.xmgl.modules.checking.mapper.CheckingPointInfoMapper;
|
import com.zhgd.xmgl.modules.checking.mapper.CheckingPointInfoMapper;
|
||||||
import com.zhgd.xmgl.modules.checking.service.CheckingPointAlarmService;
|
import com.zhgd.xmgl.modules.checking.service.CheckingPointAlarmService;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.context.annotation.Lazy;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
@ -45,6 +46,7 @@ public class CheckingPointAlarmServiceImpl extends ServiceImpl<CheckingPointAlar
|
|||||||
CheckingPointInfoMapper checkingPointInfoMapper;
|
CheckingPointInfoMapper checkingPointInfoMapper;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
|
@Lazy
|
||||||
AsyncCheckingPoint asyncCheckingPoint;
|
AsyncCheckingPoint asyncCheckingPoint;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user