|
@@ -662,6 +662,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
log.info("data.fdage文件为空!");
|
|
|
throw new BusinessException(CameraConstant.FAILURE_6009);
|
|
|
}
|
|
|
+
|
|
|
//根据videoVersion判断是V2还是V3版本的算法和页面
|
|
|
if (fdageJson.containsKey("videoVersion") && StrUtil.isNotEmpty(fdageJson.getString("videoVersion"))) {
|
|
|
if (fdageJson.getIntValue("videoVersion") >= 4) {
|
|
@@ -669,6 +670,10 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
cameraType = 11L;
|
|
|
}
|
|
|
}
|
|
|
+ int camType = fdageJson.getJSONObject("cam").getIntValue("type");
|
|
|
+ if(camType == 360){
|
|
|
+ cameraType = 6L;
|
|
|
+ }
|
|
|
|
|
|
this.removeUpdateV4(ConstantFilePath.OSS_PREFIX + prefixBuffer + "data.fdage", fdageJson);
|
|
|
|