This commit is contained in:
AKurakin 2023-02-09 16:30:19 +03:00
parent b9ff994011
commit a984876d84

View file

@ -97,7 +97,7 @@ public class VerificationResultComponent {
log.info("Found {} AccountBalance, {} Account, {} SDf01 for {} companyId's.",
allAccountBalance.size(), allAccount.size(), allSDf01.size(), allPresentCompanyId.size());
for (Long companyId : allPresentCompanyId) {
Company company = companyImdg.getSingleObjectByID(companyId);
Company company = companyId == null ? null : companyImdg.getSingleObjectByID(companyId);
if (company == null) {
log.warn("Company {} not found! Ignore verification for this.", companyId);
continue;