lyhzzz 5 月之前
父节点
当前提交
19ef823312
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/ucenter/service/impl/SceneCooperationServiceImpl.java

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

@@ -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);
                 }