lyhzzz 5 tháng trước cách đây
mục cha
commit
772d64a6d7

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

@@ -494,6 +494,9 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
 
     @Override
     public HashMap<String, List<User>> getByNumList(List<String> numList) {
+        if(numList == null || numList.isEmpty()){
+            return new HashMap<>();
+        }
         LambdaQueryWrapper<SceneCooperation> wrapper = new LambdaQueryWrapper<>();
         wrapper.in(SceneCooperation::getSceneNum,numList);
         List<SceneCooperation> list = this.list(wrapper);