lyhzzz hace 6 meses
padre
commit
32aaabfd45

+ 3 - 2
src/main/java/com/fdkankan/ucenter/service/impl/SceneCooperationServiceImpl.java

@@ -477,9 +477,10 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
         if(cameraList !=null ){
             snCodeList = cameraList.stream().map(Camera::getSnCode).collect(Collectors.toList());
         }
-        if(StringUtils.isNotBlank(sceneType) || "laser".equals(sceneType)){
-            laserService.saveBatchCooperation(new ArrayList<>(numList1),snCodeList,LoginUser.getUserName(),collect,type);
+        if(StringUtils.isNotBlank(sceneType) && "mesh".equals(sceneType)){
+            return;
         }
+        laserService.saveBatchCooperation(new ArrayList<>(numList1),snCodeList,LoginUser.getUserName(),collect,type);
 
     }