This commit is contained in:
Rsl1122 2017-10-08 11:49:22 +03:00
parent c49ae0048f
commit 56fa9dbeac

View File

@ -64,9 +64,9 @@ public class IPsTable extends UserIDTable {
}
private List<String> getStringList(UUID uuid, String column) throws SQLException {
String sql = Select.from(tableName, column)
.where(columnUserID + "=" + usersTable.statementSelectID)
.toString();
String sql = "SELECT DISTINCT " + column + " FROM " + tableName +
" WHERE " + columnUserID + "=" + usersTable.statementSelectID;
return query(new QueryStatement<List<String>>(sql, 100) {
@Override