This commit is contained in:
parent
bbd445b10f
commit
af0a234e9b
1 changed files with 2 additions and 1 deletions
|
|
@ -218,7 +218,8 @@ public class ExecutionDepositComponent {
|
|||
{
|
||||
LocalDate sTrdSettleDate = sTrades.getSettleDate();
|
||||
if (sTrdSettleDate != null) {
|
||||
eDeposit.setSecondLegSettlementDate(sTrdSettleDate.plusDays(sTrades.getRepoTerm()));
|
||||
long repoTerm = sTrades.getRepoTerm() != null ? sTrades.getRepoTerm().longValue() : 0;
|
||||
eDeposit.setSecondLegSettlementDate(sTrdSettleDate.plusDays(repoTerm));
|
||||
}
|
||||
}
|
||||
eDeposit.setFirstLegSettlementCode(sTrades.getSettleCode());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue