|
|
@@ -85,7 +85,13 @@ public class DspRecordingCallbackService { |
|
|
|
log.info("任务不存在"); |
|
|
|
return JsonResult.error("巡检任务不存在"); |
|
|
|
} |
|
|
|
inspection.setVideoUrl(request.getRecordingVideoUrl()); |
|
|
|
String videoUrl = ""; |
|
|
|
if (request.getRecordingVideoUrl().contains(CommonConfig.videoURL)) { |
|
|
|
videoUrl = request.getRecordingVideoUrl().replace(CommonConfig.videoURL, ""); |
|
|
|
} else { |
|
|
|
videoUrl = request.getRecordingVideoUrl(); |
|
|
|
} |
|
|
|
inspection.setVideoUrl(videoUrl); |
|
|
|
|
|
|
|
Integer count = inspectionMapper.update(inspection); |
|
|
|
if (count <= 0) { |