修改NCC报警bug
This commit is contained in:
parent
8acadcd71f
commit
63fbc5d0c6
@ -137,7 +137,7 @@ public class NccAlarmService {
|
||||
return defaultReason;
|
||||
}
|
||||
AtsAlarm atsAlarm = deviceFaultAlarm.get();
|
||||
if (StringUtils.hasText(atsAlarm.getDeviceCode())) {
|
||||
if (!StringUtils.hasText(atsAlarm.getDeviceCode())) {
|
||||
return defaultReason;
|
||||
}
|
||||
MapElement element = repository.findByCode(atsAlarm.getDeviceCode());
|
||||
|
Loading…
Reference in New Issue
Block a user