瀏覽代碼

Merge branch 'develop' of gitadmin/tuoheng_air_monitor into release

pull/101/head
wanjing 10 月之前
父節點
當前提交
19b52765f2
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. +7
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/callback/DspRecordingCallbackService.java

+ 7
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/callback/DspRecordingCallbackService.java 查看文件

@@ -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) {

Loading…
取消
儲存