http://jira.mfd.msk:8088/browse/CLS-676 Launcher OUTV
This commit is contained in:
parent
89beec5a83
commit
ae36188f31
6 changed files with 36 additions and 1 deletions
|
|
@ -68,6 +68,9 @@ public class LauncherNew implements IAction<Object> {
|
||||||
@ApiModelProperty(value = "Наименование счета получателя", example = "1000")
|
@ApiModelProperty(value = "Наименование счета получателя", example = "1000")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private Long debitLeg_accountId;
|
private Long debitLeg_accountId;
|
||||||
|
@ApiModelProperty(value = "SWIFT", example = "ABCDE")
|
||||||
|
@JsonProperty
|
||||||
|
private String swiftCode;
|
||||||
|
|
||||||
@ApiModelProperty(value = "Время", dataType = "java.lang.String", example = "16:30:00")
|
@ApiModelProperty(value = "Время", dataType = "java.lang.String", example = "16:30:00")
|
||||||
@JsonSerialize(using = LocalTimeSerializer.class)
|
@JsonSerialize(using = LocalTimeSerializer.class)
|
||||||
|
|
@ -95,6 +98,7 @@ public class LauncherNew implements IAction<Object> {
|
||||||
taskRunnerCommandRequest.setAddresseeId(addresseeId);
|
taskRunnerCommandRequest.setAddresseeId(addresseeId);
|
||||||
taskRunnerCommandRequest.setDebitLeg_accountId(debitLeg_accountId);
|
taskRunnerCommandRequest.setDebitLeg_accountId(debitLeg_accountId);
|
||||||
taskRunnerCommandRequest.setFromTime(fromTime);
|
taskRunnerCommandRequest.setFromTime(fromTime);
|
||||||
|
taskRunnerCommandRequest.setSwiftCode(swiftCode);
|
||||||
return taskRunnerCommandRequest;
|
return taskRunnerCommandRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -232,6 +236,14 @@ public class LauncherNew implements IAction<Object> {
|
||||||
this.debitLeg_accountId = debitLeg_accountId;
|
this.debitLeg_accountId = debitLeg_accountId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getSwiftCode() {
|
||||||
|
return swiftCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSwiftCode(String swiftCode) {
|
||||||
|
this.swiftCode = swiftCode;
|
||||||
|
}
|
||||||
|
|
||||||
public BigDecimal getFullBalance() {
|
public BigDecimal getFullBalance() {
|
||||||
return fullBalance;
|
return fullBalance;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--?xml-stylesheet type="text/xsl" href="\..\corp-reports\src\data\meta\meta.server.xslt"?-->
|
<!--?xml-stylesheet type="text/xsl" href="\..\corp-reports\src\data\meta\meta.server.xslt"?-->
|
||||||
<meta version="3.11.0.86">
|
<meta version="3.11.0.87">
|
||||||
<!-- _xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" _xsi:noNamespaceSchemaLocation="file:///E:/d/projects/meta/from/meta.xsd" -->
|
<!-- _xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" _xsi:noNamespaceSchemaLocation="file:///E:/d/projects/meta/from/meta.xsd" -->
|
||||||
<!--Здесь словари-->
|
<!--Здесь словари-->
|
||||||
<enums>
|
<enums>
|
||||||
|
|
@ -1362,6 +1362,7 @@
|
||||||
<creditLeg_accountId type="1" group="Отправитель" name="Наименование счета отправителя" shortname="Регистр списания" link="account" linkCode="account"/>
|
<creditLeg_accountId type="1" group="Отправитель" name="Наименование счета отправителя" shortname="Регистр списания" link="account" linkCode="account"/>
|
||||||
<addresseeId type="1" group="Получатель" name="Участник получатель" shortname="Получатель" link="company" linkCode="shortName" required="true" enabled="false"/>
|
<addresseeId type="1" group="Получатель" name="Участник получатель" shortname="Получатель" link="company" linkCode="shortName" required="true" enabled="false"/>
|
||||||
<debitLeg_accountId type="1" group="Получатель" name="Наименование счета получателя" shortname="Счет получателя" link="bankAccount" linkCode="correspondentAccount"/>
|
<debitLeg_accountId type="1" group="Получатель" name="Наименование счета получателя" shortname="Счет получателя" link="bankAccount" linkCode="correspondentAccount"/>
|
||||||
|
<swiftCode type="2" length="255" group="Получатель" shortname="SWIFT" enabled="false"/>
|
||||||
</post>
|
</post>
|
||||||
<post destination="GTRD" group="Обмен с Торговой системой" name="Получение сделок из Торговой системы">
|
<post destination="GTRD" group="Обмен с Торговой системой" name="Получение сделок из Торговой системы">
|
||||||
</post>
|
</post>
|
||||||
|
|
|
||||||
|
|
@ -98,6 +98,7 @@ public class LauncherService extends QueueConsumer implements InitializingBean {
|
||||||
req.setCreditLeg_amount(launcherNew.getCreditLeg_amount());
|
req.setCreditLeg_amount(launcherNew.getCreditLeg_amount());
|
||||||
req.setCreditLeg_accountId(launcherNew.getCreditLeg_accountId());
|
req.setCreditLeg_accountId(launcherNew.getCreditLeg_accountId());
|
||||||
req.setDebitLeg_accountId(launcherNew.getDebitLeg_accountId());
|
req.setDebitLeg_accountId(launcherNew.getDebitLeg_accountId());
|
||||||
|
req.setSwiftCode(launcherNew.getSwiftCode());
|
||||||
|
|
||||||
final String destination = Consts.PAYMENT_INSTRUCTION_CLEARING_OUTBOUND_ACTION;
|
final String destination = Consts.PAYMENT_INSTRUCTION_CLEARING_OUTBOUND_ACTION;
|
||||||
BaseRequest<Object> request = new BaseRequest<>();
|
BaseRequest<Object> request = new BaseRequest<>();
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,7 @@ class LauncherServiceTest extends AbstractServiceTest {
|
||||||
launcherCommandRequest.setCreditLeg_accountId(123L);
|
launcherCommandRequest.setCreditLeg_accountId(123L);
|
||||||
launcherCommandRequest.setAddresseeId(144L);
|
launcherCommandRequest.setAddresseeId(144L);
|
||||||
launcherCommandRequest.setDebitLeg_accountId(145L);
|
launcherCommandRequest.setDebitLeg_accountId(145L);
|
||||||
|
launcherCommandRequest.setSwiftCode("SWIFT");
|
||||||
launcherCommandRequest.setFromTime(LocalTime.of(12,23));
|
launcherCommandRequest.setFromTime(LocalTime.of(12,23));
|
||||||
|
|
||||||
BaseRequest<Object> predictableBaseRequest = new BaseRequest<>();
|
BaseRequest<Object> predictableBaseRequest = new BaseRequest<>();
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,8 @@ public class PIClearingOutbondActionNewRequest {
|
||||||
private Long creditLeg_accountId;
|
private Long creditLeg_accountId;
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private Long debitLeg_accountId;
|
private Long debitLeg_accountId;
|
||||||
|
@JsonProperty
|
||||||
|
private String swiftCode;
|
||||||
|
|
||||||
public Long getSenderId() {
|
public Long getSenderId() {
|
||||||
return senderId;
|
return senderId;
|
||||||
|
|
@ -66,4 +68,12 @@ public class PIClearingOutbondActionNewRequest {
|
||||||
public void setDebitLeg_accountId(Long debitLeg_accountId) {
|
public void setDebitLeg_accountId(Long debitLeg_accountId) {
|
||||||
this.debitLeg_accountId = debitLeg_accountId;
|
this.debitLeg_accountId = debitLeg_accountId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getSwiftCode() {
|
||||||
|
return swiftCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSwiftCode(String swiftCode) {
|
||||||
|
this.swiftCode = swiftCode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,8 @@ public class LauncherCommandRequest {
|
||||||
private Long addresseeId;
|
private Long addresseeId;
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private Long debitLeg_accountId;
|
private Long debitLeg_accountId;
|
||||||
|
@JsonProperty
|
||||||
|
private String swiftCode;
|
||||||
|
|
||||||
@JsonSerialize(using = LocalTimeSerializer.class)
|
@JsonSerialize(using = LocalTimeSerializer.class)
|
||||||
@JsonDeserialize(using = LocalTimeDeserializer.class)
|
@JsonDeserialize(using = LocalTimeDeserializer.class)
|
||||||
|
|
@ -185,4 +187,12 @@ public class LauncherCommandRequest {
|
||||||
public void setFromTime(LocalTime fromTime) {
|
public void setFromTime(LocalTime fromTime) {
|
||||||
this.fromTime = fromTime;
|
this.fromTime = fromTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getSwiftCode() {
|
||||||
|
return swiftCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSwiftCode(String swiftCode) {
|
||||||
|
this.swiftCode = swiftCode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue