@Override
    public List<String> getJobTrackers() {
        return new SelectSql(getSqlTemplate())
                .select()
                .columns("DISTINCT identity AS `identity` ")
                .from()
                .table(getTableName())
                .list(new ResultSetHandler<List<String>>() {
                    @Override
                    public List<String> handle(ResultSet rs) throws SQLException {
                        List<String> list = new ArrayList<String>();
                        while (rs.next()) {
                            list.add(rs.getString("identity"));
                        }
                        return list;
                    }
                });
    }
@author Robert HG (254963746@qq.com) on 3/9/16.
lts-admin/src/main/java/com/github/ltsopensource/admin/access/mysql/MysqlBackendJobTrackerMAccess.java