формирование PaymentInstruction для сделок итоговой МКР logs
This commit is contained in:
parent
ef17c60c58
commit
e7d2b420d4
1 changed files with 5 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ public class FormingPaymentInstructionDealsFinalMkr implements ISessionStage {
|
||||||
log.error("groupId {} cmt_t {} lm_t {} - both must be present", groupId, rgsCmt, rgsLmt);
|
log.error("groupId {} cmt_t {} lm_t {} - both must be present", groupId, rgsCmt, rgsLmt);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
log.debug("generating payment instruction for groupId {} cmt_t {} lm_t {}",
|
log.trace("generating payment instruction for groupId {} cmt_t {} lm_t {}",
|
||||||
groupId,
|
groupId,
|
||||||
rgsCmt.getId(),
|
rgsCmt.getId(),
|
||||||
rgsLmt.getId());
|
rgsLmt.getId());
|
||||||
|
|
@ -156,12 +156,15 @@ public class FormingPaymentInstructionDealsFinalMkr implements ISessionStage {
|
||||||
paymentInstructionImdg.insert(pmtInstr);
|
paymentInstructionImdg.insert(pmtInstr);
|
||||||
allPaymentInstructions.add(pmtInstr);
|
allPaymentInstructions.add(pmtInstr);
|
||||||
});
|
});
|
||||||
log.debug("generated PaymentInstructions for groupId {}: pmtInstr1.id={} pmtInstr2.id={}",
|
log.trace("generated PaymentInstructions for groupId {}: pmtInstr1.id={} pmtInstr2.id={}",
|
||||||
groupId,
|
groupId,
|
||||||
pmtInstrs.getFirst().getId(),
|
pmtInstrs.getFirst().getId(),
|
||||||
pmtInstrs.getSecond().getId());
|
pmtInstrs.getSecond().getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.debug("PaymentInstructions return size {}, PaymentInstructions deals size {}. sending SDF03",
|
||||||
|
paymentInstructionReturns.size(),
|
||||||
|
allPaymentInstructions.size());
|
||||||
List<PaymentInstruction> returnsAndDeals = Stream.concat(paymentInstructionReturns.stream(), allPaymentInstructions.stream()).toList();
|
List<PaymentInstruction> returnsAndDeals = Stream.concat(paymentInstructionReturns.stream(), allPaymentInstructions.stream()).toList();
|
||||||
sendSdfs(returnsAndDeals);
|
sendSdfs(returnsAndDeals);
|
||||||
StageResult<Collection<PaymentInstruction>> stageResult = new StageResult<>(null, true);
|
StageResult<Collection<PaymentInstruction>> stageResult = new StageResult<>(null, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue