This commit is contained in:
parent
fb24977c86
commit
cf24c196bc
1 changed files with 3 additions and 0 deletions
|
|
@ -126,6 +126,9 @@ public class ExportFromHazelcast {
|
||||||
} else {
|
} else {
|
||||||
tableRows = map.getAllValues();
|
tableRows = map.getAllValues();
|
||||||
}
|
}
|
||||||
|
if (table == Table.S_DF02) {
|
||||||
|
((ArrayList<SpcexObjectBase>) tableRows).sort(Comparator.comparing(SpcexObjectBase::getId));
|
||||||
|
}
|
||||||
if (tableRows.isEmpty()) {
|
if (tableRows.isEmpty()) {
|
||||||
log.info("uuid {}. Map {} is empty, generationId {}", resultContainer.getUuid(), resultContainer.getTableForExport().getHazelcastMapName(), resultContainer.getGroupId());
|
log.info("uuid {}. Map {} is empty, generationId {}", resultContainer.getUuid(), resultContainer.getTableForExport().getHazelcastMapName(), resultContainer.getGroupId());
|
||||||
log.debug("uuid {}, send to SFTP path \"{}\"", resultContainer.getUuid(), path);
|
log.debug("uuid {}, send to SFTP path \"{}\"", resultContainer.getUuid(), path);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue