Commit b3bf7eb3 authored by 王亮's avatar 王亮

fix an issue.(batch query)

parent 11e2e016
......@@ -43,6 +43,7 @@ public class UserBean {
public static List<UserBean> from(List<User> userList, List<WechatUserInfo> wechatUserInfoList) {
List<UserBean> result = new ArrayList<>();
if (CollectionUtils.isNotEmpty(userList)) {
userList.forEach(user -> {
UserBean userBean = new UserBean();
userBean.setUserId(user.getId());
......@@ -63,7 +64,7 @@ public class UserBean {
}
result.add(userBean);
});
}
return result;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment