修改,NCC报警原因显示故障设备name而非code;提交转移旧仿真记录的sql
This commit is contained in:
parent
cced32fca8
commit
957dc9bd7f
|
@ -0,0 +1,9 @@
|
|||
INSERT INTO rts_user_simulation_record (map_id, user_id, type, duration, start_time, end_time)
|
||||
SELECT map_id,
|
||||
user_id,
|
||||
'SIM',
|
||||
duration,
|
||||
start_time,
|
||||
end_time
|
||||
FROM user_simulation_stats
|
||||
WHERE end_time > '2000-01-01 00:00:00';
|
|
@ -135,7 +135,7 @@ public class NccAlarmService {
|
|||
if (SwitchFault.SPLIT.name().equals(fault)) {
|
||||
fault = "失表";
|
||||
}
|
||||
return String.format("%s(%s):%s", device.getDeviceType().getName(), device.getCode(),
|
||||
return String.format("%s(%s):%s", device.getDeviceType().getName(), device.getName(),
|
||||
fault);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue