tableLMaxId = queryForLong("select max(id) from " + tableName);
} catch (Exception e) {
logger.warn("cannot find table {} ", tableName);
}
if (seqLast_number < tableLMaxId) {
TableSequence seq = new TableSequence();
seq.setSeqName(seqName);
seq.setTableName(tableName);
seq.setLastNumber(seqLast_number);
seq.setMaxId(tableLMaxId);
err_seqs.add(seq);
}
}
} else {
TableSequence seq = new TableSequence();
seq.setSeqName(seqName);
seq.setLastNumber(seqLast_number);
err_seqs.add(seq);
}
}
return err_seqs;
}