ialbert 2024-12-18 13:19:46 +03:00
parent fb24977c86
commit cf24c196bc

View file

@ -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);