|
@@ -364,7 +364,7 @@ public class MonitorIndicatorRecordServiceImpl implements IMonitorIndicatorRecor
|
|
String alarmItemCode = objIdAndAlarmItemCode.substring(indexOf + 1);
|
|
String alarmItemCode = objIdAndAlarmItemCode.substring(indexOf + 1);
|
|
String lockKey = AlarmConstants.alarmDataLockPrefix + objId + "-" + alarmItemCode;
|
|
String lockKey = AlarmConstants.alarmDataLockPrefix + objId + "-" + alarmItemCode;
|
|
Object isLock = redisUtil.get(lockKey);
|
|
Object isLock = redisUtil.get(lockKey);
|
|
- if (null == isLock) {
|
|
|
|
|
|
+ if (null != isLock) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
long time = System.currentTimeMillis() + (10 * 1000);
|
|
long time = System.currentTimeMillis() + (10 * 1000);
|