|
@@ -169,7 +169,7 @@ public class MsgAlarmServiceImpl extends ServiceImpl<MsgAlarmMapper, MsgAlarm> i
|
|
|
log.info("-----------setType------" + setType);
|
|
|
Set<BaseCameraVO> alarmSet = redisService.getSetMembers(Constants.ALARM_SET);
|
|
|
log.info("-----------alarmSet------" + alarmSet);
|
|
|
- if (!CollectionUtils.isEmpty(alarmSet)) {
|
|
|
+ if (!ObjectUtils.isEmpty(alarmSet)) {
|
|
|
Set<String> cameraCodeSet = alarmSet.stream()
|
|
|
.map(BaseCameraVO::getCameraCode)
|
|
|
.collect(Collectors.toSet());
|