Преглед на файлове

抓图 注释掉传国家局

gaodd преди 3 месеца
родител
ревизия
a432a543e4
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/main/java/com/chinaitop/depot/monitor/controller/PreviewPlaybackController.java

+ 4 - 4
src/main/java/com/chinaitop/depot/monitor/controller/PreviewPlaybackController.java

@@ -143,18 +143,18 @@ public class PreviewPlaybackController {
143 143
         CaptureReqDTO captureReqDTO = (CaptureReqDTO)mapper1.readValue(captureReqDTOJson, CaptureReqDTO.class);
144 144
         
145 145
         // JSON字符串转对象
146
-        ObjectMapper mapper = new ObjectMapper();
147
-        CameraCapture cameraCapture = (CameraCapture)mapper.readValue(cameraCaptureJson, CameraCapture.class);
146
+        /*ObjectMapper mapper = new ObjectMapper();
147
+        CameraCapture cameraCapture = (CameraCapture)mapper.readValue(cameraCaptureJson, CameraCapture.class);*/
148 148
         
149 149
     	CaptureResDTO captureResDTO = hkService.manualCapture(captureReqDTO);
150 150
          
151 151
     	
152 152
          //加到表里
153
-    	CameraCapture cameraCapture1 = cameraCaptureService.save(cameraCapture,captureResDTO.getPicUrl());
153
+    	/*CameraCapture cameraCapture1 = cameraCaptureService.save(cameraCapture,captureResDTO.getPicUrl());
154 154
          if(cameraCapture1.getId()>0){
155 155
         	 //传到国家局
156 156
         	 this.gjjjk(cameraCapture1.getId(), Integer.valueOf(cameraCapture1.getOrgId()), "i");
157
-         }
157
+         }*/
158 158
          
159 159
          return captureResDTO.getPicUrl();
160 160
     }