This commit is contained in:
parent
227e76a5ce
commit
8d8322e009
1 changed files with 12 additions and 4 deletions
|
|
@ -72,9 +72,13 @@ public class ExecutionRegisterReportBuilder extends CSVReportBuilder<ExecutionRe
|
|||
entity.setSeller(companyByCounterPartyId.getShortName());
|
||||
entity.setBuyer(companyByCounterPartyId.getShortName());
|
||||
}
|
||||
if (companySymbolsByCounterPartyId != null) {
|
||||
entity.setSellerCode(companySymbolsByCounterPartyId.getCompanySymbolValue());
|
||||
entity.setSellerTkr(input.getCounterPartyTradingClearingRegistry());
|
||||
}
|
||||
if (companySymbolsByCompanyId != null) {
|
||||
entity.setBuyerCode(companySymbolsByCompanyId.getCompanySymbolValue());
|
||||
}
|
||||
entity.setSellerTkr(input.getCounterPartyTradingClearingRegistry());
|
||||
entity.setBuyerTkr(input.getPartyTradingClearingRegistry());
|
||||
}
|
||||
if (Arrays.asList(Side.SELL.getKey(), MoneyFlowSide.SELL.getKey()).contains(input.getSide().toUpperCase())) {
|
||||
|
|
@ -82,9 +86,13 @@ public class ExecutionRegisterReportBuilder extends CSVReportBuilder<ExecutionRe
|
|||
entity.setSeller(companyByCompanyId.getShortName());
|
||||
entity.setBuyer(companyByCompanyId.getShortName());
|
||||
}
|
||||
if (companySymbolsByCompanyId != null) {
|
||||
entity.setSellerCode(companySymbolsByCompanyId.getCompanySymbolValue());
|
||||
entity.setSeller(input.getPartyTradingClearingRegistry());
|
||||
}
|
||||
if (companySymbolsByCounterPartyId != null) {
|
||||
entity.setBuyerCode(companySymbolsByCounterPartyId.getCompanySymbolValue());
|
||||
}
|
||||
entity.setSeller(input.getPartyTradingClearingRegistry());
|
||||
entity.setBuyerTkr(input.getCounterPartyTradingClearingRegistry());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue