when account is ANLT TCR search fix status condition
This commit is contained in:
parent
f36286e14b
commit
e8bb442588
1 changed files with 4 additions and 1 deletions
|
|
@ -52,7 +52,10 @@ public class AnltSearcher {
|
|||
ImdgPredicateBuilder pb = tradingClearingRegistryImdg.predicateBuilder();
|
||||
ImdgPredicate tcrPredicate = pb.and(
|
||||
pb.equals("code", commentTcrStripped),
|
||||
pb.equals("status", ServiceStatus.Active.getKey())
|
||||
pb.or(
|
||||
pb.equals("status", ServiceStatus.Active.getKey()),
|
||||
pb.equals("status", ServiceStatus.Reopened.getKey())
|
||||
)
|
||||
);
|
||||
|
||||
TradingClearingRegistry tcr = tradingClearingRegistryImdg.getSingleObjectByPredicate(tcrPredicate);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue