private static long getMaxId(JobInfo jobInfo) {
        JobDatasource datasource = JobAdminConfig.getAdminConfig().getJobDatasourceMapper().selectById(jobInfo.getDatasourceId());
        BaseQueryTool qTool = QueryToolFactory.getByDbType(datasource);
        return qTool.getMaxIdVal(jobInfo.getReaderTable(), jobInfo.getPrimaryKey());
    }
@param group               job group, registry list may be empty
@param jobInfo
@param finalFailRetryCount
@param triggerType
@param index               sharding index
@param total               sharding index
larkmidtable-web/larkmt-admin/src/main/java/com/larkmt/cn/admin/core/trigger/JobTrigger.java