формирование PaymentInstruction для сделок итоговой МКР logs

This commit is contained in:
ialbert 2023-06-08 13:36:26 +03:00
parent ef17c60c58
commit e7d2b420d4

View file

@ -141,7 +141,7 @@ public class FormingPaymentInstructionDealsFinalMkr implements ISessionStage {
log.error("groupId {} cmt_t {} lm_t {} - both must be present", groupId, rgsCmt, rgsLmt);
continue;
}
log.debug("generating payment instruction for groupId {} cmt_t {} lm_t {}",
log.trace("generating payment instruction for groupId {} cmt_t {} lm_t {}",
groupId,
rgsCmt.getId(),
rgsLmt.getId());
@ -156,12 +156,15 @@ public class FormingPaymentInstructionDealsFinalMkr implements ISessionStage {
paymentInstructionImdg.insert(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,
pmtInstrs.getFirst().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();
sendSdfs(returnsAndDeals);
StageResult<Collection<PaymentInstruction>> stageResult = new StageResult<>(null, true);