|
@@ -492,7 +492,7 @@ public class DeviceRedisManagerServiceImpl implements DeviceManagerService {
|
|
|
if (currentTimeMillis - lastAlarmAckTime > timeoutMillis) {
|
|
|
log.info("告警确认超时,清除确认状态: deviceId={}, currentTime={}",
|
|
|
devId, currentTimeMillis);
|
|
|
- redisService.hSet(RedisCacheConstant.KEY_DEVICE_pre + devId, "alarmAck", false);
|
|
|
+ redisService.hSet(RedisCacheConstant.KEY_DEVICE_pre + devId, "alarmAck", Boolean.FALSE.toString());
|
|
|
}
|
|
|
}
|
|
|
|