создание PaymentInstruction при обработке сделок addresseId

This commit is contained in:
ialbert 2023-06-08 15:00:07 +03:00
parent 768ba7c47f
commit 5ed749dbab

View file

@ -157,7 +157,7 @@ public class PaymentInstructionBuilderFinalMkrDeals {
payment2.setCreated(now);
payment2.setClearingDate(TimeUtil.toLocalDate(now));
payment2.setSenderId(Sender.One.getId()); // СПВБ
payment2.setAddresseeId(lm_t.getCompanyId());
payment2.setAddresseeId(cm_t.getCompanyId());
String symbol2 = selectSymbolValue(payment2.getAddresseeId(), CompanySymbol.BIC);
if (symbol2 == null) {
log.warn("CompanySymbols BIC not found for companyId={}", payment2.getAddresseeId());