|
@@ -411,7 +411,9 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
|
|
|
|
|
|
List<User> dbUserList = map.get(num);
|
|
|
if(dbUserList != null && !dbUserList.isEmpty()){
|
|
|
- freeCount = freeCount - dbUserList.size();
|
|
|
+ if(cameraId != null){
|
|
|
+ freeCount = freeCount - dbUserList.size();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
totalCount += users.size() - freeCount ;
|