From e8895ebd84ce49f2b678d60042bd45c5b33a0af0 Mon Sep 17 00:00:00 2001 From: AKurakin Date: Fri, 13 Oct 2023 15:05:51 +0300 Subject: [PATCH] registry-service http://jira.mfd.msk:8088/browse/CLS-280 --- .../registry/service/DepoPaymentInstructionRegisterService.java | 2 +- .../service/MoneyPaymentInstructionRegisterService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clearing-parent/registry-service/src/main/java/ru/spcex/clearing/registry/service/DepoPaymentInstructionRegisterService.java b/clearing-parent/registry-service/src/main/java/ru/spcex/clearing/registry/service/DepoPaymentInstructionRegisterService.java index 6134606d3..3082faa86 100644 --- a/clearing-parent/registry-service/src/main/java/ru/spcex/clearing/registry/service/DepoPaymentInstructionRegisterService.java +++ b/clearing-parent/registry-service/src/main/java/ru/spcex/clearing/registry/service/DepoPaymentInstructionRegisterService.java @@ -76,7 +76,7 @@ public class DepoPaymentInstructionRegisterService extends QueueConsumer impleme log.debug("LauncherCommandRequest received from {}", createRegistry_GORR.topic()); String piQuery = "transactionStatus='" + TransactionStatus.sent.getKey() + "' OR transactionStatus = '" + - TransactionStatus.ok.getKey() + "' OR transactionStatus = '" + TransactionStatus.ok.getKey() + "'"; + TransactionStatus.stld.getKey() + "' OR transactionStatus = '" + TransactionStatus.ok.getKey() + "'"; Collection paymentInstructions = paymentInstructionMap.getCollectionObjectsBySQL(piQuery); log.debug("Selected {} PaymentInstruction by query \"{}\", do filter by account...", paymentInstructions.size(), piQuery); diff --git a/clearing-parent/registry-service/src/main/java/ru/spcex/clearing/registry/service/MoneyPaymentInstructionRegisterService.java b/clearing-parent/registry-service/src/main/java/ru/spcex/clearing/registry/service/MoneyPaymentInstructionRegisterService.java index b33bbcb92..e40e73f04 100644 --- a/clearing-parent/registry-service/src/main/java/ru/spcex/clearing/registry/service/MoneyPaymentInstructionRegisterService.java +++ b/clearing-parent/registry-service/src/main/java/ru/spcex/clearing/registry/service/MoneyPaymentInstructionRegisterService.java @@ -72,7 +72,7 @@ public class MoneyPaymentInstructionRegisterService extends QueueConsumer implem log.debug("LauncherCommandRequest received from {}", TOPIC_NAME); String piQuery = "transactionStatus='" + TransactionStatus.sent.getKey() + "' OR transactionStatus = '" + - TransactionStatus.ok.getKey() + "' OR transactionStatus = '" + TransactionStatus.ok.getKey() + "'"; + TransactionStatus.stld.getKey() + "' OR transactionStatus = '" + TransactionStatus.ok.getKey() + "'"; Collection paymentInstructions = paymentInstructionMap.getCollectionObjectsBySQL(piQuery); log.debug("Selected {} PaymentInstruction by query \"{}\", do filter by account...", paymentInstructions.size(), piQuery);