lyhzzz 3 meses atrás
pai
commit
df36228348

+ 10 - 8
src/main/java/com/fdkankan/fusion/service/impl/CaseServiceImpl.java

@@ -180,14 +180,16 @@ public class CaseServiceImpl extends ServiceImpl<ICaseMapper, CaseEntity> implem
         listAll.removeIf(sceneVo -> !sceneVo.getBind());
 
         //关联的三维模型
-        List<String> numList = param.getTypeMap().get(3);
-        if(numList!=null && numList.size() >0){
-            List<Model> models = modelService.getListByModelIdStrs(numList);
-            for (Model model : models) {
-                SceneVo sceneVo = new SceneVo();
-                sceneVo.setStatus(2);
-                BeanUtils.copyProperties(model,sceneVo);
-                listAll.add(sceneVo);
+        if(param.getIsMesh() == null ){
+            List<String> numList = param.getTypeMap().get(3);
+            if(numList!=null && numList.size() >0){
+                List<Model> models = modelService.getListByModelIdStrs(numList);
+                for (Model model : models) {
+                    SceneVo sceneVo = new SceneVo();
+                    sceneVo.setStatus(2);
+                    BeanUtils.copyProperties(model,sceneVo);
+                    listAll.add(sceneVo);
+                }
             }
         }
         Set<String> snList = listAll.stream().filter(entity ->StringUtils.isNotBlank(entity.getSnCode()))