@Override
    public List<JobPo> getNeedGenerateJobPos(Long checkTime, int topSize) {
        return new SelectSql(getSqlTemplate())
                .select()
                .all()
                .from()
                .table(getTableName())
                .where("rely_on_prev_cycle = ?", false)
                .and("last_generate_trigger_time <= ?", checkTime)
                .limit(0, topSize)
                .list(RshHolder.JOB_PO_LIST_RSH);
    }
@author Robert HG (254963746@qq.com) on 4/4/16.
lts-core/src/main/java/com/github/ltsopensource/queue/mysql/MysqlSchedulerJobQueue.java