|
@@ -1576,13 +1576,13 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
jsonObject.getInteger("scenetype"), jsonObject.getString("gps"), rebuild,
|
|
|
jsonObject.getInteger("resolution"), firmwareVersion.toString(), sceneUrl, buildType, cameraDetail.getCooperationUser());
|
|
|
|
|
|
-// //江门公安项目场景浏览默认是非公开
|
|
|
-// JySceneAuth jySceneAuth = jySceneAuthService.getByNum(sceneNum);
|
|
|
-// if(Objects.isNull(jySceneAuth)){
|
|
|
-// jySceneAuth.setAuthType(0);
|
|
|
-// jySceneAuth.setNum(sceneNum);
|
|
|
-// jySceneAuthService.save(jySceneAuth);
|
|
|
-// }
|
|
|
+ //江门公安项目场景浏览默认是非公开
|
|
|
+ JySceneAuth jySceneAuth = jySceneAuthService.getByNum(sceneNum);
|
|
|
+ if(Objects.isNull(jySceneAuth)){
|
|
|
+ jySceneAuth.setAuthType(0);
|
|
|
+ jySceneAuth.setNum(sceneNum);
|
|
|
+ jySceneAuthService.save(jySceneAuth);
|
|
|
+ }
|
|
|
|
|
|
if (Objects.nonNull(scenePlusVO)) {
|
|
|
JSONObject statusJson = new JSONObject();
|