Kaynağa Gözat

Merge branch 'feature-v4.7.0.2-20230404' into test

dsx 2 yıl önce
ebeveyn
işleme
977333ff1e

+ 3 - 3
src/main/java/com/fdkankan/contro/service/impl/SceneFileBuildServiceImpl.java

@@ -102,7 +102,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
     private String jgNotSupportBuildTime;
 
     @Value("#{'${camType.laser:}'.split(',')}")
-    private List<Integer> camTypeList;
+    private List<Integer> laserCamTypeList;
 
     @Autowired
     private RedisUtil redisUtil;
@@ -728,7 +728,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
         //激光相机10 13
         int camType = fdageJson.getJSONObject("cam").getIntValue("type");
         log.info("camType:{}", camType);
-        if(camTypeList.contains(camType)){
+        if(laserCamTypeList.contains(camType)){
             //激光转台
             cameraType = 14L;
         }
@@ -1175,7 +1175,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
             cameraType = 14L;
         }
         BuildSceneCallMessage message = null;
-        if(sceneSource == 4){
+        if(sceneSource == SceneSource.JG.code() || sceneSource == SceneSource.SG.code()){
             String userName = null;
             Long sceneUserId = scenePlus.getUserId();
             if (!ObjectUtils.isEmpty(sceneUserId)) {