lyhzzz il y a 2 ans
Parent
commit
9a89edd135

+ 5 - 3
src/main/java/com/fdkankan/ucenter/service/impl/AppSceneService.java

@@ -130,6 +130,10 @@ public class AppSceneService {
                     record.setSceneSourceType(2);
                     continue ;
                 }
+                if(canDelBut){
+                    record.setSceneSourceType(1);
+                    continue;
+                }
                 //相机的userId为空,表示相机的场景
                 if (cameraDetail.getUserId() == null || param.getUserId() == null ) {
                     record.setSceneSourceType(0);
@@ -150,9 +154,7 @@ public class AppSceneService {
                 }
 
             }
-            if(canDelBut){
-                record.setSceneSourceType(1);
-            }
+
         }
         return PageInfo.PageInfo(page);
     }