This commit is contained in:
parent
ae508a1fdb
commit
7f0f1c67ea
6 changed files with 476 additions and 2 deletions
|
|
@ -12,6 +12,9 @@ public class RiskParameterNewAction implements IAction<RiskParameterNewRequest>
|
||||||
@ApiModelProperty(value = "Курс.", example = "1234")
|
@ApiModelProperty(value = "Курс.", example = "1234")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private BigDecimal value;
|
private BigDecimal value;
|
||||||
|
@ApiModelProperty(value = "Ставка сопряженной валюты.", example = "1234")
|
||||||
|
@JsonProperty
|
||||||
|
private BigDecimal quoteValue;
|
||||||
@ApiModelProperty(value = "Код расчёта.", example = "1234")
|
@ApiModelProperty(value = "Код расчёта.", example = "1234")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private String settlementType;
|
private String settlementType;
|
||||||
|
|
@ -26,6 +29,7 @@ public class RiskParameterNewAction implements IAction<RiskParameterNewRequest>
|
||||||
public RiskParameterNewRequest toRequest() {
|
public RiskParameterNewRequest toRequest() {
|
||||||
RiskParameterNewRequest request = new RiskParameterNewRequest();
|
RiskParameterNewRequest request = new RiskParameterNewRequest();
|
||||||
request.setValue(this.value);
|
request.setValue(this.value);
|
||||||
|
request.setQuoteValue(this.quoteValue);
|
||||||
request.setSettlementType(this.settlementType);
|
request.setSettlementType(this.settlementType);
|
||||||
request.setCurrencyPairId(this.currencyPairId);
|
request.setCurrencyPairId(this.currencyPairId);
|
||||||
request.setStatus(this.status);
|
request.setStatus(this.status);
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,9 @@ public class RiskParameterUpdateAction implements IAction<RiskParameterUpdateReq
|
||||||
@ApiModelProperty(value = "Курс.", example = "1234")
|
@ApiModelProperty(value = "Курс.", example = "1234")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private BigDecimal value;
|
private BigDecimal value;
|
||||||
|
@ApiModelProperty(value = "Ставка сопряженной валюты.", example = "1234")
|
||||||
|
@JsonProperty
|
||||||
|
private BigDecimal quoteValue;
|
||||||
@ApiModelProperty(value = "Статус.", example = "1234")
|
@ApiModelProperty(value = "Статус.", example = "1234")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private String status;
|
private String status;
|
||||||
|
|
@ -24,6 +27,7 @@ public class RiskParameterUpdateAction implements IAction<RiskParameterUpdateReq
|
||||||
RiskParameterUpdateRequest request = new RiskParameterUpdateRequest();
|
RiskParameterUpdateRequest request = new RiskParameterUpdateRequest();
|
||||||
request.setId(this.id);
|
request.setId(this.id);
|
||||||
request.setValue(this.value);
|
request.setValue(this.value);
|
||||||
|
request.setQuoteValue(this.quoteValue);
|
||||||
request.setStatus(this.status);
|
request.setStatus(this.status);
|
||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
"version": "3.22.285.150",
|
"version": "3.22.285.151",
|
||||||
|
|
||||||
"enums": {
|
"enums": {
|
||||||
|
|
||||||
|
|
@ -1581,6 +1581,75 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
,
|
||||||
|
"orderAffil": {
|
||||||
|
|
||||||
|
"name": "Справочник принадлежности заявок",
|
||||||
|
|
||||||
|
"class": "...",
|
||||||
|
|
||||||
|
"table": "order_affil_dictionary",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"name": "Идентификатор записи","shortname": "ID","type": 1
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "code",
|
||||||
|
"name": "Код","shortname": "Код","type": 12
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "name",
|
||||||
|
"name": "Принадлежность","shortname": "Принадлежность","type": 2,"length": 50
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
,
|
||||||
|
"orderStatus": {
|
||||||
|
|
||||||
|
"name": "Справочник статуса заявок",
|
||||||
|
|
||||||
|
"class": "...",
|
||||||
|
|
||||||
|
"table": "order_status_dictionary",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"name": "Идентификатор записи","shortname": "ID","type": 1
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "code",
|
||||||
|
"name": "Код","shortname": "Код","type": 12
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "name",
|
||||||
|
"name": "Статус заявки","shortname": "Статус","type": 2,"length": 50
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
,
|
||||||
|
"overnightType": {
|
||||||
|
|
||||||
|
"name": "Справочник типов сделок переноса",
|
||||||
|
|
||||||
|
"class": "...",
|
||||||
|
|
||||||
|
"table": "overnight_type_dictionary",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"name": "Идентификатор записи","shortname": "ID","type": 1
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "code",
|
||||||
|
"name": "Код","shortname": "Код","type": 12
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "name",
|
||||||
|
"name": "Тип сделок переноса","shortname": "Тип переноса","type": 2,"length": 50
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -6223,6 +6292,39 @@
|
||||||
|
|
||||||
"name": "Загрузка курсов валют",
|
"name": "Загрузка курсов валют",
|
||||||
|
|
||||||
|
"fields": []
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"method":"post",
|
||||||
|
|
||||||
|
"destination": "CROR",
|
||||||
|
|
||||||
|
"group": "Общее",
|
||||||
|
|
||||||
|
"name": "Создание заявок переноса",
|
||||||
|
|
||||||
|
"fields": []
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"method":"post",
|
||||||
|
|
||||||
|
"destination": "SDOR",
|
||||||
|
|
||||||
|
"group": "Обмен с Торговой системой",
|
||||||
|
|
||||||
|
"name": "Отправка заявок в Торговую систему",
|
||||||
|
|
||||||
|
"fields": []
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"method":"post",
|
||||||
|
|
||||||
|
"destination": "ORST",
|
||||||
|
|
||||||
|
"group": "Обмен с Торговой системой",
|
||||||
|
|
||||||
|
"name": "Получение статуса заявок из Торговой системы",
|
||||||
|
|
||||||
"fields": []
|
"fields": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
@ -10858,6 +10960,10 @@
|
||||||
{"code": "value",
|
{"code": "value",
|
||||||
"name": "Ставка","shortname": "Ставка","type": 10
|
"name": "Ставка","shortname": "Ставка","type": 10
|
||||||
}
|
}
|
||||||
|
,
|
||||||
|
{"code": "quoteValue",
|
||||||
|
"name": "Ставка сопряженной валюты","shortname": "Ставка сопряженной валюты","type": 10
|
||||||
|
}
|
||||||
,
|
,
|
||||||
{"code": "workflowStatus",
|
{"code": "workflowStatus",
|
||||||
"name": "Статус","shortname": "Статус","type": 2,"length": 4,"link": "workflowStatus"
|
"name": "Статус","shortname": "Статус","type": 2,"length": 4,"link": "workflowStatus"
|
||||||
|
|
@ -10884,6 +10990,10 @@
|
||||||
{"code": "value",
|
{"code": "value",
|
||||||
"name": "Ставка","shortname": "Ставка","type": 10
|
"name": "Ставка","shortname": "Ставка","type": 10
|
||||||
}
|
}
|
||||||
|
,
|
||||||
|
{"code": "quoteValue",
|
||||||
|
"name": "Ставка сопряженной валюты","shortname": "Ставка сопряженной валюты","type": 10
|
||||||
|
}
|
||||||
,
|
,
|
||||||
{"code": "status",
|
{"code": "status",
|
||||||
"name": "Статус","shortname": "Статус","type": 2,"length": 4,"link": "workflowStatus"
|
"name": "Статус","shortname": "Статус","type": 2,"length": 4,"link": "workflowStatus"
|
||||||
|
|
@ -10907,6 +11017,10 @@
|
||||||
{"code": "value",
|
{"code": "value",
|
||||||
"name": "Ставка","shortname": "Ставка","type": 10
|
"name": "Ставка","shortname": "Ставка","type": 10
|
||||||
}
|
}
|
||||||
|
,
|
||||||
|
{"code": "quoteValue",
|
||||||
|
"name": "Ставка сопряженной валюты","shortname": "Ставка сопряженной валюты","type": 10
|
||||||
|
}
|
||||||
,
|
,
|
||||||
{"code": "status",
|
{"code": "status",
|
||||||
"name": "Статус","shortname": "Статус","type": 2,"length": 4,"link": "workflowStatus"
|
"name": "Статус","shortname": "Статус","type": 2,"length": 4,"link": "workflowStatus"
|
||||||
|
|
@ -11449,6 +11563,329 @@
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
,
|
||||||
|
"orderCurrency": {
|
||||||
|
|
||||||
|
"name": "Заявки переноса",
|
||||||
|
|
||||||
|
"destination": "order-currency",
|
||||||
|
|
||||||
|
"class": "ru.clearing.classes.statics.data.misc.OrderCurrency",
|
||||||
|
|
||||||
|
"logUpdates": "true",
|
||||||
|
|
||||||
|
"table": "order_currency",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "securityId",
|
||||||
|
"type": 1,"dbname": "Идентификатор инструмента","name": "Наименование инструмента","shortname": "Инструмент","searchable": true,"sortable": true,"visible": true,"link": "security","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "securitySymbol",
|
||||||
|
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "account",
|
||||||
|
"type": 2,"length": 50,"name": "Торговый счет","shortname": "Счет","searchable": true,"sortable": true,"visible": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "tradingClearingRegistryId",
|
||||||
|
"type": 1,"dbname": "Идентификатор торгово-клирингового регистра","name": "Торгово-клиринговый регистр","shortname": "ТКР","searchable": true,"sortable": true,"link": "tradingClearingRegistry","linkCode": "code"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "companyId",
|
||||||
|
"type": 1,"dbname": "Идентификатор участника","name": "Наименование участника","shortname": "Участник","searchable": true,"sortable": true,"visible": true,"link": "company","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "tradingCode",
|
||||||
|
"type": 2,"length": 255,"name": "Код участника торгов","shortname": "Код УТ","searchable": true,"sortable": true,"visible": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "counterPartyId",
|
||||||
|
"type": 1,"dbname": "Идентификатор компании-партнера","name": "Название УК контрагента","shortname": "Контрагент","visible": false,"searchable": true,"sortable": true,"link": "company","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "counterTradingCode",
|
||||||
|
"type": 2,"length": 255,"name": "Код УТ-контрагента","shortname": "Код контрагента","searchable": true,"sortable": true,"visible": false
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "type",
|
||||||
|
"type": 12,"name": "Тип заявки","shortname": "Тип","searchable": true,"sortable": true,"visible": true,"link": "orderAffil"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "overnightType",
|
||||||
|
"type": 12,"name": "Тип сделок переноса компании","shortname": "Тип сделок переноса","searchable": true,"sortable": true,"visible": true,"link": "overnightType"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "listingId",
|
||||||
|
"type": 1,"dbname": "Идентификатор инструмента на режиме","name": "Наименование инструмента на режиме","shortname": "Инструмент на режиме","searchable": true,"sortable": true,"visible": true,"link": "listing","linkCode": "symbolName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "market",
|
||||||
|
"type": 12,"name": "Код режима торгов","shortname": "Режим торгов","visible": true,"searchable": true,"sortable": true,"link": "market","linkCode": "code"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "price",
|
||||||
|
"type": 10,"name": "Цена заявки","shortname": "Цена","searchable": true,"sortable": true,"visible": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "rate",
|
||||||
|
"type": 10,"name": "Ставка переноса","shortname": "Ставка переноса","searchable": true,"sortable": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "quantityLot",
|
||||||
|
"type": 3,"name": "Объем заявки в лотах","shortname": "Объем заявки в лотах","searchable": true,"sortable": true,"visible": false,"ignore": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "quantity",
|
||||||
|
"type": 3,"name": "Объем заявки в штуках","shortname": "Объем заявки в шт.","searchable": true,"sortable": true,"visible": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "lotSize",
|
||||||
|
"field": "securityId","type": 11,"name": "Размер лота","shortname": "Лот","searchable": true,"sortable": true,"visible": false,"linkKeyCode": "securityId","linkCode": "lotSize","link": "listing","extends": "listing"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "side",
|
||||||
|
"type": 12,"name": "Направление заявки","shortname": "Направление","searchable": true,"sortable": true,"visible": true,"link": "side"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "settleCode",
|
||||||
|
"type": 2,"length": 50,"name": "Код расчетов","shortname": "Код расчетов","searchable": true,"sortable": true,"visible": false,"link": "currencySettlementType","linkCode": "code"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "settleDate",
|
||||||
|
"type": 6,"name": "Дата расчетов","shortname": "Дата расчетов","searchable": true,"sortable": true,"visible": false,"ignore": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "status",
|
||||||
|
"type": 2,"length": 4,"name": "Статус заявки","shortname": "Статус","link": "orderStatus","searchable": true,"sortable": true,"visible": false
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "comment",
|
||||||
|
"type": 2,"length": 255,"name": "Комментарий","shortname": "Комментарий","searchable": true,"sortable": true,"visible": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "initialOrderId",
|
||||||
|
"type": 1,"name": "Идентификатор исходной заявки","shortname": "ID исходной заявки","searchable": true,"sortable": true,"visible": false
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "debtCompanyId",
|
||||||
|
"type": 1,"dbname": "Идентификатор участника-должника","name": "Наименование участника-должника","shortname": "Должник","searchable": true,"sortable": true,"visible": false,"link": "company","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "id",
|
||||||
|
"type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "createdAt",
|
||||||
|
"field": "created","type": 4,"webtype": "5","dbname": "Дата-время создания записи","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "updatedAt",
|
||||||
|
"field": "updated","type": 4,"webtype": "5","dbname": "Дата-время изменения записи","name": "Время изменения записи","shortname": "Завершено","searchable": true,"sortable": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
,"actions":[
|
||||||
|
{"method":"put",
|
||||||
|
|
||||||
|
"name": "Изменение заявки",
|
||||||
|
|
||||||
|
"class": "ru.spcex.clearing.backendapi.controller.request.cud.order.OrderCurrencyUpdateAction",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"type": 1,"name": "Идентификатор записи","shortname": "ID","link": "orderCurrency","linkCode": "id","required": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "securityId",
|
||||||
|
"type": 1,"name": "Наименование инструмента","shortname": "Инструмент","link": "security","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "price",
|
||||||
|
"type": 10,"name": "Цена заявки","shortname": "Цена","required": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "quantityLot",
|
||||||
|
"type": 3,"name": "Объем заявки в лотах","shortname": "Объем заявки","required": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "side",
|
||||||
|
"type": 12,"name": "Направление заявки","shortname": "Направление","required": true,"link": "side"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "status",
|
||||||
|
"type": 12,"name": "Статус заявки","shortname": "Статус","link": "orderStatus"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "comment",
|
||||||
|
"type": 2,"length": 255,"name": "Комментарий","shortname": "Комментарий"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"method":"put",
|
||||||
|
|
||||||
|
"name": "Изменение типа сделки переноса",
|
||||||
|
|
||||||
|
"destination": "order-currency/overnightType",
|
||||||
|
|
||||||
|
"class": "ru.spcex.clearing.backendapi.controller.request.cud.order.OrderOvernightTypeUpdateAction",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"type": 1,"name": "Идентификатор записи","shortname": "ID","link": "orderCurrency","linkCode": "id","required": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "overnightType",
|
||||||
|
"type": 12,"name": "Тип сделок переноса компании","shortname": "Тип сделок переноса","required": true,"link": "overnightType"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"method":"post",
|
||||||
|
|
||||||
|
"name": "Добавление ДУК",
|
||||||
|
|
||||||
|
"destination": "order-currency/company",
|
||||||
|
|
||||||
|
"class": "ru.spcex.clearing.backendapi.controller.request.cud.order.OrderCompanyNewAction",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"type": 1,"name": "Идентификатор записи","shortname": "ID начальной записи","link": "orderCurrency","linkCode": "id","required": true,"visible": false
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "companyId",
|
||||||
|
"type": 1,"name": "Наименование участника","shortname": "Участник","required": true,"link": "company","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "tradingClearingRegistryId",
|
||||||
|
"type": 1,"name": "Торгово-клиринговый регистр","shortname": "ТКР","required": true,"link": "tradingClearingRegistry","linkCode": "code"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "quantityLot",
|
||||||
|
"type": 3,"name": "Объем заявки в лотах","shortname": "Объем заявки в лотах","required": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"method":"put",
|
||||||
|
|
||||||
|
"name": "Изменение ДУК",
|
||||||
|
|
||||||
|
"destination": "order-currency/company",
|
||||||
|
|
||||||
|
"class": "ru.spcex.clearing.backendapi.controller.request.cud.order.OrderCompanyUpdateAction",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"type": 1,"name": "Идентификатор записи","shortname": "ID","link": "orderCurrency","linkCode": "id","required": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "companyId",
|
||||||
|
"type": 1,"name": "Наименование участника","shortname": "Участник","required": true,"link": "company","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "tradingClearingRegistryId",
|
||||||
|
"type": 1,"name": "Торгово-клиринговый регистр","shortname": "ТКР","required": true,"link": "tradingClearingRegistry","linkCode": "code"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "quantityLot",
|
||||||
|
"type": 3,"name": "Объем заявки в лотах","shortname": "Объем заявки в лотах","required": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"method":"delete",
|
||||||
|
|
||||||
|
"name": "Удаление ДУК",
|
||||||
|
|
||||||
|
"class": "ru.spcex.clearing.backendapi.controller.request.cud.common.CommonDeleteAction",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"type": 1,"name": "Идентификатор записи","shortname": "ID","link": "orderCurrency","linkCode": "id","required": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
,
|
||||||
|
"overnightSettings": {
|
||||||
|
|
||||||
|
"name": "Настройки переноса позиций",
|
||||||
|
|
||||||
|
"destination": "overnight-settings",
|
||||||
|
|
||||||
|
"class": "ru.clearing.classes.statics.data.misc.OvernightSettings",
|
||||||
|
|
||||||
|
"table": "overnight_settings",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true,"visible": false
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "companyId",
|
||||||
|
"type": 1,"dbname": "Идентификатор участника","name": "Наименование участника","shortname": "Участник","searchable": true,"sortable": true,"visible": true,"link": "company","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "market",
|
||||||
|
"type": 12,"name": "Код рынка","shortname": "Рынок","visible": true,"searchable": true,"sortable": true,"link": "section"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "overnightType",
|
||||||
|
"type": 12,"name": "Тип сделок переноса компании","shortname": "Тип сделок переноса","searchable": true,"sortable": true,"visible": true,"link": "overnightType"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
,"actions":[
|
||||||
|
{"method":"post",
|
||||||
|
|
||||||
|
"name": "Добавление настроек переноса позиций",
|
||||||
|
|
||||||
|
"class": "ru.spcex.clearing.backendapi.controller.request.cud.misc.OvernightNewAction",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "companyId",
|
||||||
|
"type": 1,"dbname": "Идентификатор участника","name": "Наименование участника","shortname": "Участник","required": true,"link": "company","linkCode": "shortName"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "market",
|
||||||
|
"type": 12,"name": "Код рынка","shortname": "Рынок","required": true,"link": "section"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "overnightType",
|
||||||
|
"type": 12,"name": "Тип сделок переноса компании","shortname": "Тип сделок переноса","required": true,"link": "overnightType"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"method":"put",
|
||||||
|
|
||||||
|
"name": "Изменение настроек переноса позиций",
|
||||||
|
|
||||||
|
"class": "ru.spcex.clearing.backendapi.controller.request.cud.misc.OvernightUpdateAction",
|
||||||
|
|
||||||
|
"fields": [
|
||||||
|
{"code": "id",
|
||||||
|
"type": 1,"name": "Идентификатор записи","shortname": "ID","link": "overnightSettings","linkCode": "id","required": true
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "companyId",
|
||||||
|
"type": 1,"dbname": "Идентификатор участника","name": "Наименование участника","shortname": "Участник","required": true,"link": "company","linkCode": "shortName","enabled": false
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "market",
|
||||||
|
"type": 12,"name": "Код рынка","shortname": "Рынок","required": true,"link": "section","enabled": false
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "overnightType",
|
||||||
|
"type": 12,"name": "Тип сделок переноса компании","shortname": "Тип сделок переноса","required": true,"link": "overnightType"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.22.285.150">
|
<meta version="3.22.285.151">
|
||||||
<!-- _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>
|
||||||
|
|
@ -1456,6 +1456,12 @@
|
||||||
</post>
|
</post>
|
||||||
<post destination="LORT" group="Обмен с интеграционными модулями" name="Загрузка курсов валют">
|
<post destination="LORT" group="Обмен с интеграционными модулями" name="Загрузка курсов валют">
|
||||||
</post>
|
</post>
|
||||||
|
<post destination="CROR" group="Общее" name="Создание заявок переноса">
|
||||||
|
</post>
|
||||||
|
<post destination="SDOR" group="Обмен с Торговой системой" name="Отправка заявок в Торговую систему">
|
||||||
|
</post>
|
||||||
|
<post destination="ORST" group="Обмен с Торговой системой" name="Получение статуса заявок из Торговой системы">
|
||||||
|
</post>
|
||||||
</actions>
|
</actions>
|
||||||
</launcher>
|
</launcher>
|
||||||
<session name="Клиринговые сессии" destination="sessions" historyDestination="history" class="ru.clearing.classes.statics.data.misc.Session" logUpdates="true" table="session">
|
<session name="Клиринговые сессии" destination="sessions" historyDestination="history" class="ru.clearing.classes.statics.data.misc.Session" logUpdates="true" table="session">
|
||||||
|
|
@ -2531,17 +2537,20 @@
|
||||||
<currencyPairId name="Идентификатор валютной пары" shortname="Валютная пара" type="1"/>
|
<currencyPairId name="Идентификатор валютной пары" shortname="Валютная пара" type="1"/>
|
||||||
<settlementType name="Код расчета" shortname="Код расчета" type="2" length="4"/>
|
<settlementType name="Код расчета" shortname="Код расчета" type="2" length="4"/>
|
||||||
<value name="Ставка" shortname="Ставка" type="10"/>
|
<value name="Ставка" shortname="Ставка" type="10"/>
|
||||||
|
<quoteValue name="Ставка сопряженной валюты" shortname="Ставка сопряженной валюты" type="10"/>
|
||||||
<workflowStatus name="Статус" shortname="Статус" type="2" length="4" link="workflowStatus"/>
|
<workflowStatus name="Статус" shortname="Статус" type="2" length="4" link="workflowStatus"/>
|
||||||
<actions>
|
<actions>
|
||||||
<post name="Добавление параметров риска" confirmation="value,settlementType,currencyPairId,status" class="ru.spcex.clearing.backendapi.controller.request.cud.securities.RiskParameterNewAction">
|
<post name="Добавление параметров риска" confirmation="value,settlementType,currencyPairId,status" class="ru.spcex.clearing.backendapi.controller.request.cud.securities.RiskParameterNewAction">
|
||||||
<currencyPairId name="Идентификатор валютной пары" shortname="Валютная пара" type="1" link="currencyPair" linkCode="code" linkKeyCode="id"/>
|
<currencyPairId name="Идентификатор валютной пары" shortname="Валютная пара" type="1" link="currencyPair" linkCode="code" linkKeyCode="id"/>
|
||||||
<settlementType name="Код расчёта" shortname="Код расчёта" type="12" link="currencySettlementType" linkCode="code"/>
|
<settlementType name="Код расчёта" shortname="Код расчёта" type="12" link="currencySettlementType" linkCode="code"/>
|
||||||
<value name="Ставка" shortname="Ставка" type="10"/>
|
<value name="Ставка" shortname="Ставка" type="10"/>
|
||||||
|
<quoteValue name="Ставка сопряженной валюты" shortname="Ставка сопряженной валюты" type="10"/>
|
||||||
<status name="Статус" shortname="Статус" type="2" length="4" link="workflowStatus"/>
|
<status name="Статус" shortname="Статус" type="2" length="4" link="workflowStatus"/>
|
||||||
</post>
|
</post>
|
||||||
<put name="Изменение параметров риска" confirmation="value,status" class="ru.spcex.clearing.backendapi.controller.request.cud.securities.RiskParameterUpdateAction">
|
<put name="Изменение параметров риска" confirmation="value,status" class="ru.spcex.clearing.backendapi.controller.request.cud.securities.RiskParameterUpdateAction">
|
||||||
<id type="1" name="Идентификатор записи" shortname="ID" link="riskParameter" linkCode="id" required="true"/>
|
<id type="1" name="Идентификатор записи" shortname="ID" link="riskParameter" linkCode="id" required="true"/>
|
||||||
<value name="Ставка" shortname="Ставка" type="10"/>
|
<value name="Ставка" shortname="Ставка" type="10"/>
|
||||||
|
<quoteValue name="Ставка сопряженной валюты" shortname="Ставка сопряженной валюты" type="10"/>
|
||||||
<status name="Статус" shortname="Статус" type="2" length="4" link="workflowStatus"/>
|
<status name="Статус" shortname="Статус" type="2" length="4" link="workflowStatus"/>
|
||||||
</put>
|
</put>
|
||||||
</actions>
|
</actions>
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@ public class RiskParameterNewRequest {
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private BigDecimal value;
|
private BigDecimal value;
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
|
private BigDecimal quoteValue;
|
||||||
|
@JsonProperty
|
||||||
private String settlementType;
|
private String settlementType;
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private Long currencyPairId;
|
private Long currencyPairId;
|
||||||
|
|
@ -22,6 +24,14 @@ public class RiskParameterNewRequest {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BigDecimal getQuoteValue() {
|
||||||
|
return quoteValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQuoteValue(BigDecimal quoteValue) {
|
||||||
|
this.quoteValue = quoteValue;
|
||||||
|
}
|
||||||
|
|
||||||
public String getSettlementType() {
|
public String getSettlementType() {
|
||||||
return settlementType;
|
return settlementType;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ public class RiskParameterUpdateRequest {
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private BigDecimal value;
|
private BigDecimal value;
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
|
private BigDecimal quoteValue;
|
||||||
|
@JsonProperty
|
||||||
private String status;
|
private String status;
|
||||||
|
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
|
|
@ -28,6 +30,14 @@ public class RiskParameterUpdateRequest {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BigDecimal getQuoteValue() {
|
||||||
|
return quoteValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQuoteValue(BigDecimal quoteValue) {
|
||||||
|
this.quoteValue = quoteValue;
|
||||||
|
}
|
||||||
|
|
||||||
public String getStatus() {
|
public String getStatus() {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue