etreschenkov 2024-06-18 18:55:30 +03:00
parent cd783ebbbe
commit d1bb78fa1e

View file

@ -214,8 +214,7 @@ public class TradingClearingRegistryListValidationConfig {
ImdgPredicateBuilder pb = tradingClearingRegistryListImdg.predicateBuilder(); ImdgPredicateBuilder pb = tradingClearingRegistryListImdg.predicateBuilder();
ImdgPredicate query = pb.and( ImdgPredicate query = pb.and(
pb.equals("status", WorkflowStatus.Active.getKey()), pb.equals("status", WorkflowStatus.Active.getKey()),
pb.equals("currency", byIdObject.getCurrency()), pb.equals("currency", byIdObject.getCurrency()));
pb.equals("tradingClearingRegistryId", tkrId));
if (idGetter != null) { if (idGetter != null) {
Long id = idGetter.apply(validatedObject); Long id = idGetter.apply(validatedObject);
if (id == null) // never if (id == null) // never