private List <UserConnect> getUserConnects(List <User> users) { if (users.Count == 0) { return(new List <UserConnect>()); } String ids = strUtil.GetIds(users); return(UserConnect.find("UserId in (" + ids + ")").list()); }