From e9e93ece7e457ace71bced50cd2c0623e8414edd Mon Sep 17 00:00:00 2001 From: psemenkov Date: Fri, 18 Aug 2023 16:14:18 +0300 Subject: [PATCH] =?UTF-8?q?http://jira.mfd.msk:8088/browse/CLS-496=20?= =?UTF-8?q?=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C,=20=D0=B2=D0=BC=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=BE=20nominal=5Fvalue=20=D0=B1=D1=83=D0=B4=D0=B5?= =?UTF-8?q?=D1=82=20=D0=BF=D1=80=D0=B8=D1=85=D0=BE=D0=B4=D0=B8=D1=82=D1=8C?= =?UTF-8?q?=20nominal=5Ffor=5Fdate=20=D0=B8=20=D0=B5=D0=B3=D0=BE=20=D0=BD?= =?UTF-8?q?=D0=B5=D0=BE=D0=B1=D1=85=D0=BE=D0=B4=D0=B8=D0=BC=D0=BE=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BF=D0=B8=D1=81=D1=8B=D0=B2=D0=B0=D1=82=D1=8C=20=D0=B2?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BB=D0=B5=20fixedIncomeSecurity.nominalValue.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clearing-parent/gateway-api/pom.xml | 6 ++++++ .../gatewayapi/service/adapter/SecurityRequestAdapter.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/clearing-parent/gateway-api/pom.xml b/clearing-parent/gateway-api/pom.xml index fa27e7e4b..ed289e97f 100644 --- a/clearing-parent/gateway-api/pom.xml +++ b/clearing-parent/gateway-api/pom.xml @@ -61,6 +61,12 @@ ru.spcex.clearing clearing-validation + + + org.springframework.boot + spring-boot-test-autoconfigure + test + org.junit.jupiter junit-jupiter diff --git a/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/service/adapter/SecurityRequestAdapter.java b/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/service/adapter/SecurityRequestAdapter.java index 4b24d88d8..cfe882826 100644 --- a/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/service/adapter/SecurityRequestAdapter.java +++ b/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/service/adapter/SecurityRequestAdapter.java @@ -18,7 +18,7 @@ public class SecurityRequestAdapter { fixedIncomeSecurityNewRequest.setFullName(fondSecurity.getFullName()); fixedIncomeSecurityNewRequest.setIsin(fondSecurity.getIsin()); fixedIncomeSecurityNewRequest.setBondType(fondSecurity.getBondType()); - fixedIncomeSecurityNewRequest.setNominalValue(fondSecurity.getNominalValue()); + fixedIncomeSecurityNewRequest.setNominalValue(fondSecurity.getNominalForDate()); fixedIncomeSecurityNewRequest.setNominalCurrency(fondSecurity.getNominalCurrency()); fixedIncomeSecurityNewRequest.setMaturityDate(fondSecurity.getMaturityDate()); if (fondSecurity.getCouponFrequency() != null) {