etreshenkov 2023-10-05 12:09:13 +03:00
parent a4c4fe8c71
commit 64c174e806
3 changed files with 24 additions and 1 deletions

View file

@ -25,6 +25,9 @@ public class IdentificationFundsActionNew implements IAction<IdentificationFunds
@ApiModelProperty(value = "Торгово-клиринговый регистр", example = "1234") @ApiModelProperty(value = "Торгово-клиринговый регистр", example = "1234")
@JsonProperty @JsonProperty
public Long tradingClearingRegistryId; public Long tradingClearingRegistryId;
@ApiModelProperty(value = "Идентификатор компании", example = "1234")
@JsonProperty
public Long companyId;
@Override @Override
public IdentificationFundsRequest toRequest() { public IdentificationFundsRequest toRequest() {
@ -32,6 +35,7 @@ public class IdentificationFundsActionNew implements IAction<IdentificationFunds
req.setId(id); req.setId(id);
req.setBalance(balance); req.setBalance(balance);
req.setTradingClearingRegistryId(tradingClearingRegistryId); req.setTradingClearingRegistryId(tradingClearingRegistryId);
req.setCompanyId(companyId);
return req; return req;
} }
@ -74,4 +78,12 @@ public class IdentificationFundsActionNew implements IAction<IdentificationFunds
public void setTradingClearingRegistryId(Long tradingClearingRegistryId) { public void setTradingClearingRegistryId(Long tradingClearingRegistryId) {
this.tradingClearingRegistryId = tradingClearingRegistryId; this.tradingClearingRegistryId = tradingClearingRegistryId;
} }
public Long getCompanyId() {
return companyId;
}
public void setCompanyId(Long companyId) {
this.companyId = companyId;
}
} }

View file

@ -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.8.0.59"> <meta version="3.8.0.60">
<!-- _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>
@ -960,6 +960,7 @@
<id type="1" name="Идентификатор записи" shortname="ID" link="registry" linkCode="id" required="true"/> <id type="1" name="Идентификатор записи" shortname="ID" link="registry" linkCode="id" required="true"/>
<balance type="10" name="Сумма" shortname="Сумма" required="true"/> <balance type="10" name="Сумма" shortname="Сумма" required="true"/>
<tradingClearingRegistryId type="1" name="Торгово-клиринговый регистр" shortname="Торгово-клиринговый регистр" link="tradingClearingRegistry" linkCode="code" required="true"/> <tradingClearingRegistryId type="1" name="Торгово-клиринговый регистр" shortname="Торгово-клиринговый регистр" link="tradingClearingRegistry" linkCode="code" required="true"/>
<companyId type="1" name="Наименование компании" shortname="Компания" link="company" required="true"/>
</post> </post>
<put name="Изменение даты возврата депозита" destination="registries/changeRefundDate" confirmation="contact,contract,refundDate" class="ru.spcex.clearing.backendapi.controller.request.cud.registry.ChangeRefundDateActionNew"> <put name="Изменение даты возврата депозита" destination="registries/changeRefundDate" confirmation="contact,contract,refundDate" class="ru.spcex.clearing.backendapi.controller.request.cud.registry.ChangeRefundDateActionNew">
<groupId type="1" dbname="Идентификатор группы связанных регистров" name="Идентификатор группы" required="true" enabled="false" visible="false"/> <groupId type="1" dbname="Идентификатор группы связанных регистров" name="Идентификатор группы" required="true" enabled="false" visible="false"/>

View file

@ -12,6 +12,8 @@ public class IdentificationFundsRequest implements WithId {
private BigDecimal balance; private BigDecimal balance;
@JsonProperty @JsonProperty
private Long tradingClearingRegistryId; private Long tradingClearingRegistryId;
@JsonProperty
private Long companyId;
public Long getId() { public Long getId() {
return id; return id;
@ -36,4 +38,12 @@ public class IdentificationFundsRequest implements WithId {
public void setTradingClearingRegistryId(Long tradingClearingRegistryId) { public void setTradingClearingRegistryId(Long tradingClearingRegistryId) {
this.tradingClearingRegistryId = tradingClearingRegistryId; this.tradingClearingRegistryId = tradingClearingRegistryId;
} }
public Long getCompanyId() {
return companyId;
}
public void setCompanyId(Long companyId) {
this.companyId = companyId;
}
} }