导入修复
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 lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@ -30,12 +31,16 @@ import java.util.stream.Collectors;
|
||||
@Slf4j
|
||||
@Component
|
||||
public class AsyncCheckingPoint {
|
||||
@Lazy
|
||||
@Autowired
|
||||
private IMqttSender mqttPushClient;
|
||||
@Lazy
|
||||
@Autowired
|
||||
private SystemUserMapper systemUserMapper;
|
||||
@Lazy
|
||||
@Autowired
|
||||
private AsyncCommon asyncCommon;
|
||||
@Lazy
|
||||
@Autowired
|
||||
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.service.CheckingPointAlarmService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
@ -45,6 +46,7 @@ public class CheckingPointAlarmServiceImpl extends ServiceImpl<CheckingPointAlar
|
||||
CheckingPointInfoMapper checkingPointInfoMapper;
|
||||
|
||||
@Resource
|
||||
@Lazy
|
||||
AsyncCheckingPoint asyncCheckingPoint;
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user