|
@@ -459,7 +459,7 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
|
|
}
|
|
}
|
|
Integer totalSize = dbUserList.size() - userHashMap.size();
|
|
Integer totalSize = dbUserList.size() - userHashMap.size();
|
|
|
|
|
|
- if(numList.size() >1){
|
|
|
|
|
|
+ if(numList.size() >1 || cameraId != null){
|
|
freeCount = (totalSize > freeCount ? totalSize : (freeCount - totalSize));
|
|
freeCount = (totalSize > freeCount ? totalSize : (freeCount - totalSize));
|
|
}else {
|
|
}else {
|
|
freeCount = (totalSize > freeCount ? totalSize : freeCount) ;
|
|
freeCount = (totalSize > freeCount ? totalSize : freeCount) ;
|