|
@@ -399,7 +399,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
|
|
|
String buildType = "V2";
|
|
String buildType = "V2";
|
|
Long cameraType = 10L;
|
|
Long cameraType = 10L;
|
|
- JSONObject fdageJson = FileUtils.readJson(filePath + "data.fdage");
|
|
|
|
|
|
+ JSONObject fdageJson = FileUtils.readJson(filePathBuffer.toString() + "data.fdage");
|
|
if(ObjectUtils.isEmpty(fdageJson)){
|
|
if(ObjectUtils.isEmpty(fdageJson)){
|
|
log.info("data.fdage文件不存在");
|
|
log.info("data.fdage文件不存在");
|
|
throw new BusinessException(CameraConstant.FAILURE_6009);
|
|
throw new BusinessException(CameraConstant.FAILURE_6009);
|
|
@@ -476,7 +476,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
filePath.mkdirs();
|
|
filePath.mkdirs();
|
|
}
|
|
}
|
|
fYunFileService.downloadFile(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString() + "data.fdage");
|
|
fYunFileService.downloadFile(ConstantFilePath.OSS_PREFIX + prefixBuffer.toString() + "data.fdage", filePathBuffer.toString() + "data.fdage");
|
|
- JSONObject fdageJson = FileUtils.readJson(filePath + "data.fdage");
|
|
|
|
|
|
+ JSONObject fdageJson = FileUtils.readJson(filePathBuffer.toString() + "data.fdage");
|
|
if(ObjectUtils.isEmpty(fdageJson)){
|
|
if(ObjectUtils.isEmpty(fdageJson)){
|
|
log.info("data.fdage文件不存在");
|
|
log.info("data.fdage文件不存在");
|
|
throw new BusinessException(CameraConstant.FAILURE_6009);
|
|
throw new BusinessException(CameraConstant.FAILURE_6009);
|