http://jira.mfd.msk:8088/browse/CLS-189 fix PaymentInstructionCreator поправил AddresseeId для V

This commit is contained in:
AKurakin 2023-02-07 19:07:22 +03:00
parent 13be0ab471
commit 150468f823

View file

@ -245,8 +245,8 @@ public class PaymentInstructionCreator {
payment1.setSenderId(SPVB_ID); // СПВБ
{
String sqlLCA = String.format("securityId = %s and companyId != %s",
liabilitiesClaimsAssets.getSecurityId(), liabilitiesClaimsAssets.getCompanyId());
String sqlLCA = String.format("exchangeExecutionId = %s and side != '%s'",
executionDeposit.getExchangeExecutionId(), executionDeposit.getSide());
ExecutionDeposit counterExecutionDeposit = executionDepositImdg.getSingleObjectBySQL(sqlLCA);
if (counterExecutionDeposit == null) {
log.warn("Counter ExecutionDeposit not found for : {}", sqlLCA);