1、维护状态的基站也进行告警检查
This commit is contained in:
parent
c67372710f
commit
c88d37c072
@ -105,7 +105,7 @@ public class DeviceStatusChecker {
|
||||
List<String> deviceIds = new ArrayList<>();
|
||||
QueryWrapper<GnssDevice> deviceQueryWrapper = new QueryWrapper<>();
|
||||
deviceQueryWrapper.eq("devicetype", GnssDevice.TYPE_REFERENCE_STATION);
|
||||
deviceQueryWrapper.eq("opmode", GnssDevice.OP_MODE_USE);
|
||||
deviceQueryWrapper.ne("opmode", GnssDevice.OP_MODE_UNUSE);
|
||||
List<GnssDevice> bsList = deviceMapper.selectList(deviceQueryWrapper);
|
||||
for(GnssDevice bs:bsList){
|
||||
GnssStatus status = gnssStatusMapper.getByDeviceId(bs.getDeviceid());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user