add logs
This commit is contained in:
parent
39feb7ebce
commit
c12066d554
2 changed files with 11 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ public class PaymentInstructionBuilderV2 {
|
|||
payment.setSettlementDate(LocalDate.now());
|
||||
}
|
||||
|
||||
log.debug("CS_BLKD={}", useCS_BLKD);
|
||||
if (useCS_BLKD && checkAgent()) {
|
||||
payment.setPaymentPurpose(SpecifFlag.CS_BLKD.getKey() + "_" + sessionId + " " + purpose);
|
||||
} else {
|
||||
|
|
@ -263,6 +264,12 @@ public class PaymentInstructionBuilderV2 {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
log.debug("{}.id={} checkAgent = {}",
|
||||
am_b.getRegistryCode(),
|
||||
am_b.getId(),
|
||||
hasCounterPartyInitiator);
|
||||
|
||||
return hasCounterPartyInitiator;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -205,6 +205,10 @@ public class FormingPaymentInstructionAssetsAction extends AbstractSessionAction
|
|||
adjustByReturns);
|
||||
}
|
||||
amount = safeBD(registry.getBalance()).add(adjustByReturns);
|
||||
log.debug("{}.id={} amount = {}",
|
||||
registry.getRegistryCode(),
|
||||
registry.getId(),
|
||||
amount);
|
||||
boolean isPositiveBalance = amount.compareTo(BigDecimal.ZERO) > 0;
|
||||
if (amount.compareTo(BigDecimal.ZERO) == 0) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue