|
@@ -197,14 +197,14 @@ public class GeoHazardMonitorTokenController {
|
|
|
respMsgAlarmVo.setIsCancel(2);
|
|
|
respMsgAlarmVo.setCancelTime(null);
|
|
|
// 记录要合成报警视频的报警id
|
|
|
- Map<String, Object> map = redisCache.getCacheMap(RedisConstant.key);
|
|
|
- if (ObjectUtils.isEmpty(map)) {
|
|
|
- map = new HashMap<>();
|
|
|
- }
|
|
|
- map.put(msgAlarm.getAlarmId(), msgAlarm.getAlarmTime());
|
|
|
- log.info("map:{}", map);
|
|
|
- redisCache.deleteObject(RedisConstant.key);
|
|
|
- redisCache.setCacheMap(RedisConstant.key, map);
|
|
|
+// Map<String, Object> map = redisCache.getCacheMap(RedisConstant.key);
|
|
|
+// if (ObjectUtils.isEmpty(map)) {
|
|
|
+// map = new HashMap<>();
|
|
|
+// }
|
|
|
+// map.put(msgAlarm.getAlarmId(), msgAlarm.getAlarmTime());
|
|
|
+// log.info("map:{}", map);
|
|
|
+// redisCache.deleteObject(RedisConstant.key);
|
|
|
+// redisCache.setCacheMap(RedisConstant.key, map);
|
|
|
} else {
|
|
|
BeanUtils.copyProperties(reqMsgAlarmVo, msgAlarmVice);
|
|
|
String[] imageUrl = reqMsgAlarmVo.getImageUrls();
|