|
@@ -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
|
}
|