This commit is contained in:
parent
2f885b6a19
commit
50376d335b
4 changed files with 15 additions and 15 deletions
|
|
@ -9,7 +9,7 @@ import ru.spcex.clearing.platform.messaging.domain.cud.order.OrderCompanyNewRequ
|
|||
public class OrderCompanyNewAction implements IAction<OrderCompanyNewRequest> {
|
||||
@ApiModelProperty(value = "Идентификатор записи", example = "12")
|
||||
@JsonProperty
|
||||
private Long id;
|
||||
private Long orderId;
|
||||
@ApiModelProperty(value = "Тип сделок переноса компании", example = "ASDF")
|
||||
@JsonProperty
|
||||
private Long companyId;
|
||||
|
|
@ -23,7 +23,7 @@ public class OrderCompanyNewAction implements IAction<OrderCompanyNewRequest> {
|
|||
@Override
|
||||
public OrderCompanyNewRequest toRequest() {
|
||||
OrderCompanyNewRequest request = new OrderCompanyNewRequest();
|
||||
request.setId(id);
|
||||
request.setOrderId(orderId);
|
||||
request.setCompanyId(companyId);
|
||||
request.setTradingClearingRegistryId(tradingClearingRegistryId);
|
||||
request.setQuantityLot(quantityLot);
|
||||
|
|
@ -36,12 +36,12 @@ public class OrderCompanyNewAction implements IAction<OrderCompanyNewRequest> {
|
|||
return ActionType.NEW;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
public Long getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
public void setOrderId(Long orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public Long getCompanyId() {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
{
|
||||
"version": "3.23.295.152",
|
||||
"version": "3.23.295.153",
|
||||
|
||||
"enums": {
|
||||
|
||||
|
|
@ -11751,7 +11751,7 @@
|
|||
"class": "ru.spcex.clearing.backendapi.controller.request.cud.order.OrderCompanyNewAction",
|
||||
|
||||
"fields": [
|
||||
{"code": "id",
|
||||
{"code": "orderId",
|
||||
"type": 1,"name": "Идентификатор записи","shortname": "ID начальной записи","link": "orderCurrency","linkCode": "id","required": true,"visible": false
|
||||
}
|
||||
,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--?xml-stylesheet type="text/xsl" href="\..\corp-reports\src\data\meta\meta.server.xslt"?-->
|
||||
<meta version="3.23.295.152">
|
||||
<meta version="3.23.295.153">
|
||||
<!-- _xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" _xsi:noNamespaceSchemaLocation="file:///E:/d/projects/meta/from/meta.xsd" -->
|
||||
<!--Здесь словари-->
|
||||
<enums>
|
||||
|
|
@ -2726,7 +2726,7 @@
|
|||
<overnightType type="12" name="Тип сделок переноса компании" shortname="Тип сделок переноса" required="true" link="overnightType"/>
|
||||
</put>
|
||||
<post name="Добавление ДУК" destination="order-currency/company" class="ru.spcex.clearing.backendapi.controller.request.cud.order.OrderCompanyNewAction">
|
||||
<id type="1" name="Идентификатор записи" shortname="ID начальной записи" link="orderCurrency" linkCode="id" required="true" visible="false"/>
|
||||
<orderId type="1" name="Идентификатор записи" shortname="ID начальной записи" link="orderCurrency" linkCode="id" required="true" visible="false"/>
|
||||
<companyId type="1" name="Наименование участника" shortname="Участник" required="true" link="company" linkCode="shortName"/>
|
||||
<tradingClearingRegistryId type="1" name="Торгово-клиринговый регистр" shortname="ТКР" required="true" link="tradingClearingRegistry" linkCode="code"/>
|
||||
<quantityLot type="3" name="Объем заявки в лотах" shortname="Объем заявки в лотах" required="true"/>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import ru.spcex.platform.classes.base.interfaces.WithId;
|
|||
|
||||
public class OrderCompanyNewRequest implements WithId {
|
||||
@JsonProperty
|
||||
private Long id;
|
||||
private Long orderId;
|
||||
@JsonProperty
|
||||
private Long companyId;
|
||||
@JsonProperty
|
||||
|
|
@ -13,12 +13,12 @@ public class OrderCompanyNewRequest implements WithId {
|
|||
@JsonProperty
|
||||
private Long quantityLot;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
public Long getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
public void setOrderId(Long orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public Long getCompanyId() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue