This commit is contained in:
akulikov 2023-12-29 16:56:09 +03:00
parent 227e76a5ce
commit 8d8322e009

View file

@ -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());
}
}