Merge branch 'develop'

master
yixian 5 years ago
commit 61ca60abd6

@ -204,6 +204,7 @@ public class ATOReportServiceImpl implements ATOReportService {
List<Integer> clients = clientMapper.listClientsWithTransactionsSettled(startOfMon.toDate(), endOfMon.toDate());
if (progress != null) {
progress.setMonth(startOfMon, clients);
synchronizeProgress();
}
clients.parallelStream().forEach(clientId -> loadClientMonthTransactions(reportingParty, clientId, startOfMon, endOfMon));
}
@ -231,6 +232,7 @@ public class ATOReportServiceImpl implements ATOReportService {
}
if (progress != null) {
progress.markClientFinished(clientId);
synchronizeProgress();
}
}

Loading…
Cancel
Save