|
@@ -497,17 +497,17 @@ public class MsgAlarmController extends BaseController {
|
|
|
LambdaQueryWrapper<BaseCameraManagement> base = new LambdaQueryWrapper<>();
|
|
|
base.eq(BaseCameraManagement::getCameraCode, msgAlarm.getCameraCode());
|
|
|
BaseCameraManagement baseCameraManagement = baseCameraManagementService.getOne(base);
|
|
|
- String url = null;
|
|
|
- try {
|
|
|
- url = CameraUtil.historyPlayListStr(baseCameraManagement.getChannel(),
|
|
|
- msgAlarm.getAlarmTime(),
|
|
|
- msgAlarm.getReleasedTime(),
|
|
|
- true);
|
|
|
- } catch (Exception exception) {
|
|
|
- log.error(exception.getMessage());
|
|
|
- }
|
|
|
- log.info("updateIsLock-------url" + url);
|
|
|
- msgAlarm.setReleasedUrl(url);
|
|
|
+// String url = null;
|
|
|
+// try {
|
|
|
+// url = CameraUtil.historyPlayListStr(baseCameraManagement.getChannel(),
|
|
|
+// msgAlarm.getAlarmTime(),
|
|
|
+// msgAlarm.getReleasedTime(),
|
|
|
+// true);
|
|
|
+// } catch (Exception exception) {
|
|
|
+// log.error(exception.getMessage());
|
|
|
+// }
|
|
|
+// log.info("updateIsLock-------url" + url);
|
|
|
+// msgAlarm.setReleasedUrl(url);
|
|
|
log.info("updateIsLock----------msgAlarm" + msgAlarm);
|
|
|
boolean b = msgAlarmService.updateById(msgAlarm);
|
|
|
// LambdaQueryWrapper<MsgAppPush> wrapper = new LambdaQueryWrapper<>();
|