Browse Source

抓图 注释掉传国家局

gaodd 3 months ago
parent
commit
a432a543e4

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

@@ -143,18 +143,18 @@ public class PreviewPlaybackController {
143
         CaptureReqDTO captureReqDTO = (CaptureReqDTO)mapper1.readValue(captureReqDTOJson, CaptureReqDTO.class);
143
         CaptureReqDTO captureReqDTO = (CaptureReqDTO)mapper1.readValue(captureReqDTOJson, CaptureReqDTO.class);
144
         
144
         
145
         // JSON字符串转对象
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
     	CaptureResDTO captureResDTO = hkService.manualCapture(captureReqDTO);
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
          if(cameraCapture1.getId()>0){
154
          if(cameraCapture1.getId()>0){
155
         	 //传到国家局
155
         	 //传到国家局
156
         	 this.gjjjk(cameraCapture1.getId(), Integer.valueOf(cameraCapture1.getOrgId()), "i");
156
         	 this.gjjjk(cameraCapture1.getId(), Integer.valueOf(cameraCapture1.getOrgId()), "i");
157
-         }
157
+         }*/
158
          
158
          
159
          return captureResDTO.getPicUrl();
159
          return captureResDTO.getPicUrl();
160
     }
160
     }