|
@@ -397,7 +397,7 @@ public class GeoHazardMonitorTokenController {
|
|
// 使用SimpleDateFormat将Date对象格式化为指定样式的字符串
|
|
// 使用SimpleDateFormat将Date对象格式化为指定样式的字符串
|
|
String formattedDate = sdf.format(msgAlarmVice.getAlarmTime());
|
|
String formattedDate = sdf.format(msgAlarmVice.getAlarmTime());
|
|
log.info("-----formattedDate-----------" + formattedDate);
|
|
log.info("-----formattedDate-----------" + formattedDate);
|
|
- String records = cameraUtil.getQueryRecords(finalCode + "/playback", formattedDate,"mp4",laterValue.get(0).getDictValue());
|
|
|
|
|
|
+ String records = cameraUtil.getQueryRecords(finalCode + "/playback", formattedDate,"mp4",laterValue.get(0).getDictValue(),frontValue.get(0).getDictValue());
|
|
log.info("-----records-----------" + records);
|
|
log.info("-----records-----------" + records);
|
|
MsgAlarm alarm1 = msgAlarmService.getById(msgAlarm.getId());
|
|
MsgAlarm alarm1 = msgAlarmService.getById(msgAlarm.getId());
|
|
alarm1.setReleasedUrl(records);
|
|
alarm1.setReleasedUrl(records);
|