diff options
author | Vitaly Takmazov | 2016-01-26 02:08:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-01-26 02:08:59 +0300 |
commit | 3e589d7566164634a946018e61ccb36093d1924b (patch) | |
tree | ebd43f2cd746fdfd1c070d636ad4660ba7243470 | |
parent | 8a77f7d91311f8c4d8ef026dacb4abbe0fa764d1 (diff) |
fix getUsersByName
-rw-r--r-- | src/main/java/com/juick/server/UserQueries.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/UserQueries.java b/src/main/java/com/juick/server/UserQueries.java index 226e21b1..cfa52a16 100644 --- a/src/main/java/com/juick/server/UserQueries.java +++ b/src/main/java/com/juick/server/UserQueries.java @@ -104,7 +104,7 @@ public class UserQueries { } public static List<User> getUsersByName(JdbcTemplate sql, List<String> unames) { - return sql.query("SELECT id,nick FROM users WHERE nick IN (" + Utils.convertArrayString2String(unames) + ")", + return sql.query("SELECT id,nick,banned FROM users WHERE nick IN (" + Utils.convertArrayString2String(unames) + ")", new UserMapper()); } |