etreschenkov 2024-10-15 14:31:04 +03:00
parent 1bf0faf8d4
commit 833532e0fc

View file

@ -26,6 +26,9 @@ public class TkrService {
if (tkrRequest.getErrors() != null && !tkrRequest.getErrors().isEmpty()) {
return;
}
if (tkrRequest.getInfoAccount().isEmpty()) {
return;
}
List<TkrAccount> tkrAccountsForCheck = tkrRequest.getInfoAccount()
.stream().filter(infoAccount -> TypeOperations.CHECK.equalsByKey(infoAccount.getTypeOperationClient()))
.map(tkrAdapter::toTkrResponse)