This commit is contained in:
parent
08cfe0485c
commit
7782c3bc1f
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ public class KSRepLccTradesReportBuilder extends CSVReportBuilder<EmptyParams, K
|
||||||
pb.equals("accountType", AccountType.Anlt.getKey()),
|
pb.equals("accountType", AccountType.Anlt.getKey()),
|
||||||
pb.equals("companyId", 5L)
|
pb.equals("companyId", 5L)
|
||||||
);
|
);
|
||||||
if (execution.getSecuritySymbol() != null)
|
if (currency != null)
|
||||||
finalPredicate = pb.and(finalPredicate, pb.equals("currency", currency));
|
finalPredicate = pb.and(finalPredicate, pb.equals("currency", currency));
|
||||||
account = accountImdg.getFirstObjectByPredicate(finalPredicate);
|
account = accountImdg.getFirstObjectByPredicate(finalPredicate);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue