This commit is contained in:
parent
1982731a0e
commit
acedbcda92
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ public enum GatewayEksClientCodeValidationRule implements IValidationRule<ImdgVa
|
||||||
.filter(acc -> !StringUtils.hasText(acc.getAccount()) && StringUtils.hasText(acc.getEks_account()))
|
.filter(acc -> !StringUtils.hasText(acc.getAccount()) && StringUtils.hasText(acc.getEks_account()))
|
||||||
.toList();
|
.toList();
|
||||||
for (MoneyAccountMsgRequest msg : validatedObject.getMoneyAccounts()) {
|
for (MoneyAccountMsgRequest msg : validatedObject.getMoneyAccounts()) {
|
||||||
if (!StringUtils.hasText(msg.getAccount()) && StringUtils.hasText(msg.getEks_account())) {
|
if (!StringUtils.hasText(msg.getAccount()) && !StringUtils.hasText(msg.getEks_account())) {
|
||||||
return of(AccountError.RequiredFieldEmpty, "account+eks_account");
|
return of(AccountError.RequiredFieldEmpty, "account+eks_account");
|
||||||
}
|
}
|
||||||
if (!msg.getStatus().equals("NEW")) {
|
if (!msg.getStatus().equals("NEW")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue