Browse Source

SDK端口修改

gao.qiang 11 months ago
parent
commit
12cf6f4f94

+ 11 - 11
hazard-admin/src/main/java/com/ozs/web/controller/accountmanagment/MsgAlarmController.java

@@ -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<>();