This commit is contained in:
parent
1bf0faf8d4
commit
833532e0fc
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ public class TkrService {
|
||||||
if (tkrRequest.getErrors() != null && !tkrRequest.getErrors().isEmpty()) {
|
if (tkrRequest.getErrors() != null && !tkrRequest.getErrors().isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (tkrRequest.getInfoAccount().isEmpty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
List<TkrAccount> tkrAccountsForCheck = tkrRequest.getInfoAccount()
|
List<TkrAccount> tkrAccountsForCheck = tkrRequest.getInfoAccount()
|
||||||
.stream().filter(infoAccount -> TypeOperations.CHECK.equalsByKey(infoAccount.getTypeOperationClient()))
|
.stream().filter(infoAccount -> TypeOperations.CHECK.equalsByKey(infoAccount.getTypeOperationClient()))
|
||||||
.map(tkrAdapter::toTkrResponse)
|
.map(tkrAdapter::toTkrResponse)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue