|
@@ -300,7 +300,7 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
|
|
|
if(numList.size() >1){
|
|
|
HashMap<String, List<User>> byNumList = this.getByNumList(numList, param.getSceneType());
|
|
|
Boolean flag = true;
|
|
|
- for (String num : byNumList.keySet()) {
|
|
|
+ for (String num : numList) {
|
|
|
if(byNumList.get(num).size() + param.getUserNameList().size() >5){
|
|
|
throw new BusinessException(ResultCode.COO_LIMIT_ERROR);
|
|
|
}
|