meta с currency-pair, куча мелких правок
This commit is contained in:
parent
9cb645b115
commit
5891ad4994
7 changed files with 182 additions and 221 deletions
|
|
@ -0,0 +1,56 @@
|
||||||
|
package ru.spcex.clearing.backendapi.controller.queue.execution;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import io.swagger.annotations.ApiResponse;
|
||||||
|
import io.swagger.annotations.ApiResponses;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
import ru.clearing.classes.statics.data.execution.ExecutionCurrency;
|
||||||
|
import ru.spcex.clearing.backendapi.controller.queue.AbstractQueueController;
|
||||||
|
import ru.spcex.clearing.backendapi.controller.response.entity.CommonGetAllResponse;
|
||||||
|
import ru.spcex.clearing.backendapi.service.IOperator;
|
||||||
|
import ru.spcex.clearing.backendapi.service.IStateLoader;
|
||||||
|
import ru.spcex.clearing.imdg.IMDGDistributedNames;
|
||||||
|
import ru.spcex.platform.imdg.api.ImdgProvider;
|
||||||
|
import ru.spcex.platform.imdg.api.predicate.ImdgPredicate;
|
||||||
|
import ru.spcex.platform.imdg.api.predicate.ImdgPredicateBuilder;
|
||||||
|
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.util.Collection;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/execution-currency")
|
||||||
|
public class ExecutionCurrencyController extends AbstractQueueController {
|
||||||
|
private final IStateLoader stateLoader;
|
||||||
|
private final ImdgPredicateBuilder imdgPredicateBuilder;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
public ExecutionCurrencyController(IOperator operator,
|
||||||
|
IStateLoader stateLoader,
|
||||||
|
ImdgProvider imdgProvider) {
|
||||||
|
super(operator);
|
||||||
|
this.stateLoader = stateLoader;
|
||||||
|
this.imdgPredicateBuilder = imdgProvider
|
||||||
|
.getImdg(IMDGDistributedNames.Map_ExecutionCurrency, ExecutionCurrency.class)
|
||||||
|
.predicateBuilder();
|
||||||
|
}
|
||||||
|
|
||||||
|
@ApiOperation(value = "get all ExecutionCurrency.")
|
||||||
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "OK", response = CommonGetAllResponse.class)})
|
||||||
|
@RequestMapping(method = RequestMethod.GET)
|
||||||
|
@ResponseBody
|
||||||
|
public CommonGetAllResponse getAll() {
|
||||||
|
ImdgPredicate imdgPredicate = imdgPredicateBuilder.greatEqual("settlementDate", LocalDate.now());
|
||||||
|
Collection<Map<String, Object>> all = stateLoader.getAllMetaTransform(
|
||||||
|
IMDGDistributedNames.Map_ExecutionCurrency,
|
||||||
|
ExecutionCurrency.class,
|
||||||
|
imdgPredicate);
|
||||||
|
CommonGetAllResponse response = new CommonGetAllResponse();
|
||||||
|
response.fromEntity(all);
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -25,12 +25,12 @@ public class CurrencyPairSecurityNewAction implements IAction<CurrencyPairSecuri
|
||||||
@ApiModelProperty(value = "Валютная пара", example = "1234")
|
@ApiModelProperty(value = "Валютная пара", example = "1234")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public Long currencyPairId;
|
public Long currencyPairId;
|
||||||
@ApiModelProperty(value = "Размер лота", example = "12.33")
|
// @ApiModelProperty(value = "Размер лота", example = "12.33")
|
||||||
@JsonProperty
|
// @JsonProperty
|
||||||
public BigDecimal lotSize;
|
// public BigDecimal lotSize;
|
||||||
@ApiModelProperty(value = "Шаг цены", example = "12.33")
|
// @ApiModelProperty(value = "Шаг цены", example = "12.33")
|
||||||
@JsonProperty
|
// @JsonProperty
|
||||||
public BigDecimal minStep;
|
// public BigDecimal minStep;
|
||||||
@ApiModelProperty(value = "Количество валюты лота", example = "12.33")
|
@ApiModelProperty(value = "Количество валюты лота", example = "12.33")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public BigDecimal baseUnitSize;
|
public BigDecimal baseUnitSize;
|
||||||
|
|
@ -52,8 +52,8 @@ public class CurrencyPairSecurityNewAction implements IAction<CurrencyPairSecuri
|
||||||
req.setShortName(this.getShortName());
|
req.setShortName(this.getShortName());
|
||||||
req.setFullName(this.getFullName());
|
req.setFullName(this.getFullName());
|
||||||
req.setCurrencyPairId(this.getCurrencyPairId());
|
req.setCurrencyPairId(this.getCurrencyPairId());
|
||||||
req.setLotSize(this.getLotSize());
|
// req.setLotSize(this.getLotSize());
|
||||||
req.setMinStep(this.getMinStep());
|
// req.setMinStep(this.getMinStep());
|
||||||
req.setBaseUnitSize(this.getBaseUnitSize());
|
req.setBaseUnitSize(this.getBaseUnitSize());
|
||||||
req.setSettlementType(this.getSettlementType());
|
req.setSettlementType(this.getSettlementType());
|
||||||
req.setWorkflowStatus(this.getWorkflowStatus());
|
req.setWorkflowStatus(this.getWorkflowStatus());
|
||||||
|
|
@ -109,22 +109,6 @@ public class CurrencyPairSecurityNewAction implements IAction<CurrencyPairSecuri
|
||||||
this.currencyPairId = currencyPairId;
|
this.currencyPairId = currencyPairId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public BigDecimal getLotSize() {
|
|
||||||
return lotSize;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLotSize(BigDecimal lotSize) {
|
|
||||||
this.lotSize = lotSize;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BigDecimal getMinStep() {
|
|
||||||
return minStep;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setMinStep(BigDecimal minStep) {
|
|
||||||
this.minStep = minStep;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BigDecimal getBaseUnitSize() {
|
public BigDecimal getBaseUnitSize() {
|
||||||
return baseUnitSize;
|
return baseUnitSize;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,12 +29,12 @@ public class CurrencyPairSecurityUpdateAction implements IAction<CurrencyPairSec
|
||||||
@ApiModelProperty(value = "Валютная пара", example = "1234")
|
@ApiModelProperty(value = "Валютная пара", example = "1234")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public Long currencyPairId;
|
public Long currencyPairId;
|
||||||
@ApiModelProperty(value = "Размер лота", example = "12.33")
|
// @ApiModelProperty(value = "Размер лота", example = "12.33")
|
||||||
@JsonProperty
|
// @JsonProperty
|
||||||
public BigDecimal lotSize;
|
// public BigDecimal lotSize;
|
||||||
@ApiModelProperty(value = "Шаг цены", example = "12.33")
|
// @ApiModelProperty(value = "Шаг цены", example = "12.33")
|
||||||
@JsonProperty
|
// @JsonProperty
|
||||||
public BigDecimal minStep;
|
// public BigDecimal minStep;
|
||||||
@ApiModelProperty(value = "Количество валюты лота", example = "12.33")
|
@ApiModelProperty(value = "Количество валюты лота", example = "12.33")
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public BigDecimal baseUnitSize;
|
public BigDecimal baseUnitSize;
|
||||||
|
|
@ -57,8 +57,8 @@ public class CurrencyPairSecurityUpdateAction implements IAction<CurrencyPairSec
|
||||||
req.setShortName(this.getShortName());
|
req.setShortName(this.getShortName());
|
||||||
req.setFullName(this.getFullName());
|
req.setFullName(this.getFullName());
|
||||||
req.setCurrencyPairId(this.getCurrencyPairId());
|
req.setCurrencyPairId(this.getCurrencyPairId());
|
||||||
req.setLotSize(this.getLotSize());
|
// req.setLotSize(this.getLotSize());
|
||||||
req.setMinStep(this.getMinStep());
|
// req.setMinStep(this.getMinStep());
|
||||||
req.setBaseUnitSize(this.getBaseUnitSize());
|
req.setBaseUnitSize(this.getBaseUnitSize());
|
||||||
req.setSettlementType(this.getSettlementType());
|
req.setSettlementType(this.getSettlementType());
|
||||||
req.setWorkflowStatus(this.getWorkflowStatus());
|
req.setWorkflowStatus(this.getWorkflowStatus());
|
||||||
|
|
@ -122,22 +122,6 @@ public class CurrencyPairSecurityUpdateAction implements IAction<CurrencyPairSec
|
||||||
this.currencyPairId = currencyPairId;
|
this.currencyPairId = currencyPairId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public BigDecimal getLotSize() {
|
|
||||||
return lotSize;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setLotSize(BigDecimal lotSize) {
|
|
||||||
this.lotSize = lotSize;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BigDecimal getMinStep() {
|
|
||||||
return minStep;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setMinStep(BigDecimal minStep) {
|
|
||||||
this.minStep = minStep;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BigDecimal getBaseUnitSize() {
|
public BigDecimal getBaseUnitSize() {
|
||||||
return baseUnitSize;
|
return baseUnitSize;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
"version": "3.11.0.82",
|
"version": "3.11.0.83",
|
||||||
|
|
||||||
"enums": {
|
"enums": {
|
||||||
|
|
||||||
|
|
@ -1394,7 +1394,7 @@
|
||||||
|
|
||||||
"name": "Справочник валютных пар",
|
"name": "Справочник валютных пар",
|
||||||
|
|
||||||
"class": "ru.clearing.platform.dictionary.СurrencyPair",
|
"class": "ru.clearing.platform.dictionary.CurrencyPairDictionary",
|
||||||
|
|
||||||
"table": "currency_pair",
|
"table": "currency_pair",
|
||||||
|
|
||||||
|
|
@ -3690,7 +3690,7 @@
|
||||||
,
|
,
|
||||||
"currencyPairSecurity": {
|
"currencyPairSecurity": {
|
||||||
|
|
||||||
"name": "Валютные пары",
|
"name": "Инструменты валютного рынка",
|
||||||
|
|
||||||
"destination": "securities/currency-pair-securities",
|
"destination": "securities/currency-pair-securities",
|
||||||
|
|
||||||
|
|
@ -3701,16 +3701,24 @@
|
||||||
"table": "currency_pair_security",
|
"table": "currency_pair_security",
|
||||||
|
|
||||||
"fields": [
|
"fields": [
|
||||||
|
{"code": "securitySymbol",
|
||||||
|
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "shortName",
|
||||||
|
"type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "currencyPairId",
|
||||||
|
"type": 1,"dbname": "Валютная пара","name": "Валютная пара","shortname": "Инструмент","searchable": true,"sortable": true,"ignore": true,"link": "currencyPair","linkKeyCode": "id","linkCode": "code"
|
||||||
|
}
|
||||||
|
,
|
||||||
{"code": "baseUnitSize",
|
{"code": "baseUnitSize",
|
||||||
"type": 11,"name": "Количество валюты лота","shortname": "Количество","visible": true,"searchable": true,"sortable": true
|
"type": 11,"name": "Количество валюты лота","shortname": "Количество","visible": true,"searchable": true,"sortable": true
|
||||||
}
|
}
|
||||||
,
|
|
||||||
{"code": "currencyPairId",
|
|
||||||
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","searchable": true,"sortable": true,"ignore": true,"link": "currencyPair"
|
|
||||||
}
|
|
||||||
,
|
,
|
||||||
{"code": "code",
|
{"code": "code",
|
||||||
"type": 2,"length": 255,"name": "Наименование валютной пары","shortname": "Валютная пара","searchable": true,"sortable": true,"visible": true,"link": "currencyPair","linkKeyCode": "id","linkCode": "name"
|
"type": 2,"length": 255,"name": "Наименование валютной пары","shortname": "Валютная пара","searchable": true,"sortable": true,"visible": false,"link": "currencyPair","linkKeyCode": "id","linkCode": "name"
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "settlementType",
|
{"code": "settlementType",
|
||||||
|
|
@ -3720,34 +3728,14 @@
|
||||||
{"code": "clearingOrganization",
|
{"code": "clearingOrganization",
|
||||||
"type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","searchable": true,"sortable": true,"visible": true
|
"type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
|
||||||
{"code": "settlementOrganization",
|
|
||||||
"type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","searchable": true,"sortable": true,"visible": true
|
|
||||||
}
|
|
||||||
,
|
,
|
||||||
{"code": "securityId",
|
{"code": "securityId",
|
||||||
"type": 1,"name": "Наименование инструмента","shortname": "Инструмент","searchable": true,"sortable": true,"link": "security","linkCode": "shortName"
|
"type": 1,"name": "Наименование инструмента","shortname": "Инструмент","searchable": true,"sortable": true,"link": "security","linkCode": "shortName"
|
||||||
}
|
}
|
||||||
,
|
|
||||||
{"code": "securitySymbol",
|
|
||||||
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "shortName",
|
|
||||||
"type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
|
||||||
}
|
|
||||||
,
|
,
|
||||||
{"code": "fullName",
|
{"code": "fullName",
|
||||||
"type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
"type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
||||||
}
|
}
|
||||||
,
|
|
||||||
{"code": "shortNameEng",
|
|
||||||
"type": 2,"length": 255,"name": "Краткое наименование инструмента на английском","shortname": "Краткое наименование на английском","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "fullNameEng",
|
|
||||||
"type": 2,"length": 255,"name": "Полное наименование инструмента на английском","shortname": "Наименование на английском","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
|
||||||
}
|
|
||||||
,
|
,
|
||||||
{"code": "workflowStatus",
|
{"code": "workflowStatus",
|
||||||
"type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "workflowStatus","extends": "security"
|
"type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "workflowStatus","extends": "security"
|
||||||
|
|
@ -3780,7 +3768,7 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "securitySymbol",
|
{"code": "securitySymbol",
|
||||||
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","required": true
|
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Инструмент","required": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "shortName",
|
{"code": "shortName",
|
||||||
|
|
@ -3792,23 +3780,15 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "currencyPairId",
|
{"code": "currencyPairId",
|
||||||
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","link": "currencyPair","required": true
|
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Валютная пара","link": "currencyPair","linkKeyCode": "id","linkCode": "code","required": true
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "lotSize",
|
|
||||||
"type": 11,"name": "Размер лота","shortname": "Лот","required": true
|
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "minStep",
|
|
||||||
"type": 11,"name": "Шаг цены","shortname": "Шаг цены","required": true
|
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "baseUnitSize",
|
{"code": "baseUnitSize",
|
||||||
"type": 11,"name": "Количество валюты лота","shortname": "Количество","required": true
|
"type": 11,"name": "Количество валюты в лоте","shortname": "Количество валюты в лоте","required": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "settlementType",
|
{"code": "settlementType",
|
||||||
"type": 12,"dbname": "Тип расчета","name": "Тип расчета","shortname": "Тип расчета","link": "currencySettlementType","required": true
|
"type": 12,"dbname": "Тип расчета","name": "Тип расчета","shortname": "Тип расчета","link": "currencySettlementType","required": true,"linkCode": "code"
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "workflowStatus",
|
{"code": "workflowStatus",
|
||||||
|
|
@ -3839,7 +3819,7 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "securitySymbol",
|
{"code": "securitySymbol",
|
||||||
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","required": true
|
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Инструмент","required": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "shortName",
|
{"code": "shortName",
|
||||||
|
|
@ -3851,23 +3831,15 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "currencyPairId",
|
{"code": "currencyPairId",
|
||||||
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","link": "currencyPair","required": true
|
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Валютная пара","link": "currencyPair","linkKeyCode": "id","linkCode": "code","required": true
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "lotSize",
|
|
||||||
"type": 11,"name": "Размер лота","shortname": "Лот","required": true
|
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "minStep",
|
|
||||||
"type": 11,"name": "Шаг цены","shortname": "Шаг цены","required": true
|
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "baseUnitSize",
|
{"code": "baseUnitSize",
|
||||||
"type": 11,"name": "Количество валюты лота","shortname": "Количество","required": true
|
"type": 11,"name": "Количество валюты в лоте","shortname": "Количество валюты в лоте","required": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "settlementType",
|
{"code": "settlementType",
|
||||||
"dbname": "Тип расчета","name": "Тип расчета","shortname": "Тип расчета","link": "currencySettlementType","required": true
|
"dbname": "Тип расчета","name": "Тип расчета","shortname": "Тип расчета","link": "currencySettlementType","required": true,"linkCode": "code"
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "workflowStatus",
|
{"code": "workflowStatus",
|
||||||
|
|
@ -7326,11 +7298,11 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "createdAt",
|
{"code": "createdAt",
|
||||||
"field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true
|
"field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "updatedAt",
|
{"code": "updatedAt",
|
||||||
"field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true
|
"field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "inSDfId",
|
{"code": "inSDfId",
|
||||||
|
|
@ -7338,7 +7310,7 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "inSDf",
|
{"code": "inSDf",
|
||||||
"type": 2,"length": 255,"name": "Входящий файл","shortname": "Входящий","searchable": true,"sortable": true
|
"type": 2,"length": 255,"name": "Входящий файл","shortname": "Входящий","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "outSDfId",
|
{"code": "outSDfId",
|
||||||
|
|
@ -7346,7 +7318,7 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "outSDf",
|
{"code": "outSDf",
|
||||||
"type": 2,"length": 255,"name": "Исходящий файл","shortname": "Исходящий файл","searchable": true,"sortable": true
|
"type": 2,"length": 255,"name": "Исходящий файл","shortname": "Исходящий файл","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -7368,31 +7340,31 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "createdAt",
|
{"code": "createdAt",
|
||||||
"field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true
|
"field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "updatedAt",
|
{"code": "updatedAt",
|
||||||
"field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true
|
"field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "requestId",
|
{"code": "requestId",
|
||||||
"type": 2,"length": 255,"name": "ID запроса","shortname": "ID","searchable": true,"sortable": true
|
"type": 2,"length": 255,"name": "ID запроса","shortname": "ID","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "nameRequest",
|
{"code": "nameRequest",
|
||||||
"type": 2,"length": 255,"name": "Наименование запроса","shortname": "Наименование","searchable": true,"sortable": true
|
"type": 2,"length": 255,"name": "Наименование запроса","shortname": "Наименование","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "request",
|
{"code": "request",
|
||||||
"type": 2,"length": 1023,"name": "Тело запроса","shortname": "Запрос","searchable": true,"sortable": true
|
"type": 2,"length": 1023,"name": "Тело запроса","shortname": "Запрос","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "result",
|
{"code": "result",
|
||||||
"type": 2,"length": 1023,"name": "Тело ответа","shortname": "Ответ","searchable": true,"sortable": true
|
"type": 2,"length": 1023,"name": "Тело ответа","shortname": "Ответ","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "gatewayResultStatus",
|
{"code": "gatewayResultStatus",
|
||||||
"type": 12,"name": "Статус запроса","shortname": "Статус","searchable": true,"sortable": true,"link": "gatewayResultStatus"
|
"type": 12,"name": "Статус запроса","shortname": "Статус","searchable": true,"sortable": true,"link": "gatewayResultStatus","visible": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.82">
|
<meta version="3.11.0.83">
|
||||||
<!-- _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>
|
||||||
|
|
@ -307,7 +307,7 @@
|
||||||
<code name="Код" shortname="Код" type="12"/>
|
<code name="Код" shortname="Код" type="12"/>
|
||||||
<name name="Тип расчета" shortname="Тип расчета" type="2" length="50"/>
|
<name name="Тип расчета" shortname="Тип расчета" type="2" length="50"/>
|
||||||
</currencySettlementType>
|
</currencySettlementType>
|
||||||
<currencyPair name="Справочник валютных пар" class="ru.clearing.platform.dictionary.СurrencyPair" table="currency_pair">
|
<currencyPair name="Справочник валютных пар" class="ru.clearing.platform.dictionary.CurrencyPairDictionary" table="currency_pair">
|
||||||
<id name="Идентификатор" shortname="ID" type="1"/>
|
<id name="Идентификатор" shortname="ID" type="1"/>
|
||||||
<code name="Код" shortname="Код" type="2" length="25"/>
|
<code name="Код" shortname="Код" type="2" length="25"/>
|
||||||
<baseCurrencyId name="Код валюты лота" shortname="Валюта лота" link="currencyCode" type="12"/>
|
<baseCurrencyId name="Код валюты лота" shortname="Валюта лота" link="currencyCode" type="12"/>
|
||||||
|
|
@ -855,19 +855,16 @@
|
||||||
</delete>
|
</delete>
|
||||||
</actions>
|
</actions>
|
||||||
</listing>
|
</listing>
|
||||||
<currencyPairSecurity name="Валютные пары" destination="securities/currency-pair-securities" class="ru.clearing.classes.statics.data.security.CurrencyPairSecurity" logUpdates="true" table="currency_pair_security">
|
<currencyPairSecurity name="Инструменты валютного рынка" destination="securities/currency-pair-securities" class="ru.clearing.classes.statics.data.security.CurrencyPairSecurity" logUpdates="true" table="currency_pair_security">
|
||||||
<baseUnitSize type="11" name="Количество валюты лота" shortname="Количество" visible="true" searchable="true" sortable="true"/>
|
|
||||||
<currencyPairId type="1" dbname="Идентификатор валютной пары" name="Валютная пара" shortname="Инструмент" searchable="true" sortable="true" ignore="true" link="currencyPair"/>
|
|
||||||
<code type="2" length="255" name="Наименование валютной пары" shortname="Валютная пара" searchable="true" sortable="true" visible="true" link="currencyPair" linkKeyCode="id" linkCode="name"/>
|
|
||||||
<settlementType type="12" dbname="Тип расчета" name="Тип расчета" shortname="Тип расчета" searchable="true" sortable="true" visible="true" link="currencySettlementType" linkCode="code"/>
|
|
||||||
<clearingOrganization type="2" length="255" name="Наименование клиринговой организации" shortname="Клиринговая организация" searchable="true" sortable="true" visible="true"/>
|
|
||||||
<settlementOrganization type="2" length="255" name="Наименование расчетной организации" shortname="Расчетная организация" searchable="true" sortable="true" visible="true"/>
|
|
||||||
<securityId type="1" name="Наименование инструмента" shortname="Инструмент" searchable="true" sortable="true" link="security" linkCode="shortName"/>
|
|
||||||
<securitySymbol type="2" length="255" name="Код инструмента" shortname="Код" searchable="true" sortable="true" visible="true" extends="security"/>
|
<securitySymbol type="2" length="255" name="Код инструмента" shortname="Код" searchable="true" sortable="true" visible="true" extends="security"/>
|
||||||
<shortName type="2" length="255" name="Краткое наименование инструмента" shortname="Краткое наименование" searchable="true" sortable="true" visible="true" extends="security"/>
|
<shortName type="2" length="255" name="Краткое наименование инструмента" shortname="Краткое наименование" searchable="true" sortable="true" visible="true" extends="security"/>
|
||||||
|
<currencyPairId type="1" dbname="Валютная пара" name="Валютная пара" shortname="Инструмент" searchable="true" sortable="true" ignore="true" link="currencyPair" linkKeyCode="id" linkCode="code" />
|
||||||
|
<baseUnitSize type="11" name="Количество валюты лота" shortname="Количество" visible="true" searchable="true" sortable="true"/>
|
||||||
|
<code type="2" length="255" name="Наименование валютной пары" shortname="Валютная пара" searchable="true" sortable="true" visible="false" link="currencyPair" linkKeyCode="id" linkCode="name"/>
|
||||||
|
<settlementType type="12" dbname="Тип расчета" name="Тип расчета" shortname="Тип расчета" searchable="true" sortable="true" visible="true" link="currencySettlementType" linkCode="code"/>
|
||||||
|
<clearingOrganization type="2" length="255" name="Наименование клиринговой организации" shortname="Клиринговая организация" searchable="true" sortable="true" visible="true"/>
|
||||||
|
<securityId type="1" name="Наименование инструмента" shortname="Инструмент" searchable="true" sortable="true" link="security" linkCode="shortName"/>
|
||||||
<fullName type="2" length="255" name="Полное наименование инструмента" shortname="Наименование" searchable="true" sortable="true" visible="true" extends="security"/>
|
<fullName type="2" length="255" name="Полное наименование инструмента" shortname="Наименование" searchable="true" sortable="true" visible="true" extends="security"/>
|
||||||
<shortNameEng type="2" length="255" name="Краткое наименование инструмента на английском" shortname="Краткое наименование на английском" searchable="true" sortable="true" visible="true" extends="security"/>
|
|
||||||
<fullNameEng type="2" length="255" name="Полное наименование инструмента на английском" shortname="Наименование на английском" searchable="true" sortable="true" visible="true" extends="security"/>
|
|
||||||
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" searchable="true" sortable="true" visible="true" link="workflowStatus" extends="security"/>
|
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" searchable="true" sortable="true" visible="true" link="workflowStatus" extends="security"/>
|
||||||
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
||||||
<createdAt field="created" type="4" webtype="5" name="Время создания записи" shortname="Создано" searchable="true" sortable="true"/>
|
<createdAt field="created" type="4" webtype="5" name="Время создания записи" shortname="Создано" searchable="true" sortable="true"/>
|
||||||
|
|
@ -875,28 +872,24 @@
|
||||||
<actions>
|
<actions>
|
||||||
<post name="Добавление валютной пары" confirmation="securitySymbol,shortName,fullName,section,lotCurrencyCode,counterPartyLotCurrencyCode,lots,price,accuracy,amountLotsCurrency,settlementDate,workflowStatus" class="ru.spcex.clearing.backendapi.controller.request.cud.securities.CurrencyPairSecurityNewAction">
|
<post name="Добавление валютной пары" confirmation="securitySymbol,shortName,fullName,section,lotCurrencyCode,counterPartyLotCurrencyCode,lots,price,accuracy,amountLotsCurrency,settlementDate,workflowStatus" class="ru.spcex.clearing.backendapi.controller.request.cud.securities.CurrencyPairSecurityNewAction">
|
||||||
<instrumentType type="12" name="Наименование типа инструмента" shortname="Тип инструмента" link="instrumentType" required="true" enabled="false"/>
|
<instrumentType type="12" name="Наименование типа инструмента" shortname="Тип инструмента" link="instrumentType" required="true" enabled="false"/>
|
||||||
<securitySymbol type="2" length="255" name="Код инструмента" shortname="Код" required="true"/>
|
<securitySymbol type="2" length="255" name="Код инструмента" shortname="Инструмент" required="true"/>
|
||||||
<shortName type="2" length="255" name="Краткое наименование инструмента" shortname="Краткое наименование" required="true"/>
|
<shortName type="2" length="255" name="Краткое наименование инструмента" shortname="Краткое наименование" required="true"/>
|
||||||
<fullName type="2" length="255" name="Полное наименование инструмента" shortname="Наименование" required="true"/>
|
<fullName type="2" length="255" name="Полное наименование инструмента" shortname="Наименование" required="true"/>
|
||||||
<currencyPairId type="1" dbname="Идентификатор валютной пары" name="Валютная пара" shortname="Инструмент" link="currencyPair" required="true"/>
|
<currencyPairId type="1" dbname="Идентификатор валютной пары" name="Валютная пара" shortname="Валютная пара" link="currencyPair" linkKeyCode="id" linkCode="code" required="true"/>
|
||||||
<lotSize type="11" name="Размер лота" shortname="Лот" required="true"/>
|
<baseUnitSize type="11" name="Количество валюты в лоте" shortname="Количество валюты в лоте" required="true"/>
|
||||||
<minStep type="11" name="Шаг цены" shortname="Шаг цены" required="true"/>
|
<settlementType type="12" dbname="Тип расчета" name="Тип расчета" shortname="Тип расчета" link="currencySettlementType" required="true" linkCode="code"/>
|
||||||
<baseUnitSize type="11" name="Количество валюты лота" shortname="Количество" required="true"/>
|
|
||||||
<settlementType type="12" dbname="Тип расчета" name="Тип расчета" shortname="Тип расчета" link="currencySettlementType" required="true"/>
|
|
||||||
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" link="workflowStatus" extends="security" required="true"/>
|
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" link="workflowStatus" extends="security" required="true"/>
|
||||||
<clearingOrganization type="2" length="255" name="Наименование клиринговой организации" shortname="Клиринговая организация" required="true" enabled="false"/>
|
<clearingOrganization type="2" length="255" name="Наименование клиринговой организации" shortname="Клиринговая организация" required="true" enabled="false"/>
|
||||||
</post>
|
</post>
|
||||||
<put name="Изменение валютной пары" confirmation="securitySymbol,shortName,fullName,section,lotCurrencyCode,counterPartyLotCurrencyCode,lots,price,accuracy,amountLotsCurrency,settlementDate,workflowStatus" class="ru.spcex.clearing.backendapi.controller.request.cud.securities.CurrencyPairSecurityUpdateAction">
|
<put name="Изменение валютной пары" confirmation="securitySymbol,shortName,fullName,section,lotCurrencyCode,counterPartyLotCurrencyCode,lots,price,accuracy,amountLotsCurrency,settlementDate,workflowStatus" class="ru.spcex.clearing.backendapi.controller.request.cud.securities.CurrencyPairSecurityUpdateAction">
|
||||||
<id type="1" name="Идентификатор записи" shortname="ID" link="currencySecurity" linkCode="id" required="true"/>
|
<id type="1" name="Идентификатор записи" shortname="ID" link="currencySecurity" linkCode="id" required="true"/>
|
||||||
<instrumentType type="12" name="Наименование типа инструмента" shortname="Тип инструмента" link="instrumentType" required="true" enabled="false"/>
|
<instrumentType type="12" name="Наименование типа инструмента" shortname="Тип инструмента" link="instrumentType" required="true" enabled="false"/>
|
||||||
<securitySymbol type="2" length="255" name="Код инструмента" shortname="Код" required="true"/>
|
<securitySymbol type="2" length="255" name="Код инструмента" shortname="Инструмент" required="true"/>
|
||||||
<shortName type="2" length="255" name="Краткое наименование инструмента" shortname="Краткое наименование" required="true"/>
|
<shortName type="2" length="255" name="Краткое наименование инструмента" shortname="Краткое наименование" required="true"/>
|
||||||
<fullName type="2" length="255" name="Полное наименование инструмента" shortname="Наименование" required="true"/>
|
<fullName type="2" length="255" name="Полное наименование инструмента" shortname="Наименование" required="true"/>
|
||||||
<currencyPairId type="1" dbname="Идентификатор валютной пары" name="Валютная пара" shortname="Инструмент" link="currencyPair" required="true"/>
|
<currencyPairId type="1" dbname="Идентификатор валютной пары" name="Валютная пара" shortname="Валютная пара" link="currencyPair" linkKeyCode="id" linkCode="code" required="true"/>
|
||||||
<lotSize type="11" name="Размер лота" shortname="Лот" required="true"/>
|
<baseUnitSize type="11" name="Количество валюты в лоте" shortname="Количество валюты в лоте" required="true"/>
|
||||||
<minStep type="11" name="Шаг цены" shortname="Шаг цены" required="true"/>
|
<settlementType dbname="Тип расчета" name="Тип расчета" shortname="Тип расчета" link="currencySettlementType" required="true" linkCode="code"/>
|
||||||
<baseUnitSize type="11" name="Количество валюты лота" shortname="Количество" required="true"/>
|
|
||||||
<settlementType dbname="Тип расчета" name="Тип расчета" shortname="Тип расчета" link="currencySettlementType" required="true"/>
|
|
||||||
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" link="workflowStatus" extends="security" required="true"/>
|
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" link="workflowStatus" extends="security" required="true"/>
|
||||||
<clearingOrganization type="2" length="255" name="Наименование клиринговой организации" shortname="Клиринговая организация" required="true" enabled="false"/>
|
<clearingOrganization type="2" length="255" name="Наименование клиринговой организации" shortname="Клиринговая организация" required="true" enabled="false"/>
|
||||||
</put>
|
</put>
|
||||||
|
|
@ -1686,22 +1679,22 @@
|
||||||
</excludeLiabilitiesRegister>
|
</excludeLiabilitiesRegister>
|
||||||
<pairSdf name="Пары файлов" destination="pair-sdf" class="ru.clearing.classes.statics.data.register.PairSdf" table="pair_sdf">
|
<pairSdf name="Пары файлов" destination="pair-sdf" class="ru.clearing.classes.statics.data.register.PairSdf" table="pair_sdf">
|
||||||
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
||||||
<createdAt field="created" type="4" webtype="5" name="Время создания записи" shortname="Создано" searchable="true" sortable="true"/>
|
<createdAt field="created" type="4" webtype="5" name="Время создания записи" shortname="Создано" searchable="true" sortable="true" visible="true"/>
|
||||||
<updatedAt field="updated" type="4" webtype="5" name="Время изменения записи" shortname="Изменено" searchable="true" sortable="true"/>
|
<updatedAt field="updated" type="4" webtype="5" name="Время изменения записи" shortname="Изменено" searchable="true" sortable="true" visible="true"/>
|
||||||
<inSDfId type="2" length="255" name="Идентификатор входящего файла" shortname="Входящая запись" searchable="true" sortable="true" ignore="true"/>
|
<inSDfId type="2" length="255" name="Идентификатор входящего файла" shortname="Входящая запись" searchable="true" sortable="true" ignore="true"/>
|
||||||
<inSDf type="2" length="255" name="Входящий файл" shortname="Входящий" searchable="true" sortable="true"/>
|
<inSDf type="2" length="255" name="Входящий файл" shortname="Входящий" searchable="true" sortable="true" visible="true"/>
|
||||||
<outSDfId type="2" length="255" name="Идентификатор исходящего файла" shortname="Исходящий файл" searchable="true" sortable="true" ignore="true"/>
|
<outSDfId type="2" length="255" name="Идентификатор исходящего файла" shortname="Исходящий файл" searchable="true" sortable="true" ignore="true"/>
|
||||||
<outSDf type="2" length="255" name="Исходящий файл" shortname="Исходящий файл" searchable="true" sortable="true"/>
|
<outSDf type="2" length="255" name="Исходящий файл" shortname="Исходящий файл" searchable="true" sortable="true" visible="true"/>
|
||||||
</pairSdf>
|
</pairSdf>
|
||||||
<gatewayResult name="Результат запроса к gateway" destination="gateway-result" class="ru.clearing.classes.statics.data.register.GatewayResult" table="gateway_result">
|
<gatewayResult name="Результат запроса к gateway" destination="gateway-result" class="ru.clearing.classes.statics.data.register.GatewayResult" table="gateway_result">
|
||||||
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
||||||
<createdAt field="created" type="4" webtype="5" name="Время создания записи" shortname="Создано" searchable="true" sortable="true"/>
|
<createdAt field="created" type="4" webtype="5" name="Время создания записи" shortname="Создано" searchable="true" sortable="true" visible="true"/>
|
||||||
<updatedAt field="updated" type="4" webtype="5" name="Время изменения записи" shortname="Изменено" searchable="true" sortable="true"/>
|
<updatedAt field="updated" type="4" webtype="5" name="Время изменения записи" shortname="Изменено" searchable="true" sortable="true" visible="true"/>
|
||||||
<requestId type="2" length="255" name="ID запроса" shortname="ID" searchable="true" sortable="true"/>
|
<requestId type="2" length="255" name="ID запроса" shortname="ID" searchable="true" sortable="true" visible="true"/>
|
||||||
<nameRequest type="2" length="255" name="Наименование запроса" shortname="Наименование" searchable="true" sortable="true"/>
|
<nameRequest type="2" length="255" name="Наименование запроса" shortname="Наименование" searchable="true" sortable="true" visible="true"/>
|
||||||
<request type="2" length="1023" name="Тело запроса" shortname="Запрос" searchable="true" sortable="true"/>
|
<request type="2" length="1023" name="Тело запроса" shortname="Запрос" searchable="true" sortable="true" visible="true"/>
|
||||||
<result type="2" length="1023" name="Тело ответа" shortname="Ответ" searchable="true" sortable="true"/>
|
<result type="2" length="1023" name="Тело ответа" shortname="Ответ" searchable="true" sortable="true" visible="true"/>
|
||||||
<gatewayResultStatus type="12" name="Статус запроса" shortname="Статус" searchable="true" sortable="true" link="gatewayResultStatus"/>
|
<gatewayResultStatus type="12" name="Статус запроса" shortname="Статус" searchable="true" sortable="true" link="gatewayResultStatus" visible="true"/>
|
||||||
</gatewayResult>
|
</gatewayResult>
|
||||||
<liabilitiesRegister name="Реестр учета обязательств" destination="liabilities-registers" historyDestination="history" class="ru.clearing.classes.statics.data.register.LiabilitiesRegister" table="liabilities_register">
|
<liabilitiesRegister name="Реестр учета обязательств" destination="liabilities-registers" historyDestination="history" class="ru.clearing.classes.statics.data.register.LiabilitiesRegister" table="liabilities_register">
|
||||||
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true"/>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
"version": "3.11.0.82",
|
"version": "3.11.0.83",
|
||||||
|
|
||||||
"enums": {
|
"enums": {
|
||||||
|
|
||||||
|
|
@ -1394,7 +1394,7 @@
|
||||||
|
|
||||||
"name": "Справочник валютных пар",
|
"name": "Справочник валютных пар",
|
||||||
|
|
||||||
"class": "ru.clearing.platform.dictionary.СurrencyPair",
|
"class": "ru.clearing.platform.dictionary.CurrencyPairDictionary",
|
||||||
|
|
||||||
"table": "currency_pair",
|
"table": "currency_pair",
|
||||||
|
|
||||||
|
|
@ -3690,7 +3690,7 @@
|
||||||
,
|
,
|
||||||
"currencyPairSecurity": {
|
"currencyPairSecurity": {
|
||||||
|
|
||||||
"name": "Валютные пары",
|
"name": "Инструменты валютного рынка",
|
||||||
|
|
||||||
"destination": "securities/currency-pair-securities",
|
"destination": "securities/currency-pair-securities",
|
||||||
|
|
||||||
|
|
@ -3701,16 +3701,24 @@
|
||||||
"table": "currency_pair_security",
|
"table": "currency_pair_security",
|
||||||
|
|
||||||
"fields": [
|
"fields": [
|
||||||
|
{"code": "securitySymbol",
|
||||||
|
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "shortName",
|
||||||
|
"type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
||||||
|
}
|
||||||
|
,
|
||||||
|
{"code": "currencyPairId",
|
||||||
|
"type": 1,"dbname": "Валютная пара","name": "Валютная пара","shortname": "Инструмент","searchable": true,"sortable": true,"ignore": true,"link": "currencyPair","linkKeyCode": "id","linkCode": "code"
|
||||||
|
}
|
||||||
|
,
|
||||||
{"code": "baseUnitSize",
|
{"code": "baseUnitSize",
|
||||||
"type": 11,"name": "Количество валюты лота","shortname": "Количество","visible": true,"searchable": true,"sortable": true
|
"type": 11,"name": "Количество валюты лота","shortname": "Количество","visible": true,"searchable": true,"sortable": true
|
||||||
}
|
}
|
||||||
,
|
|
||||||
{"code": "currencyPairId",
|
|
||||||
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","searchable": true,"sortable": true,"ignore": true,"link": "currencyPair"
|
|
||||||
}
|
|
||||||
,
|
,
|
||||||
{"code": "code",
|
{"code": "code",
|
||||||
"type": 2,"length": 255,"name": "Наименование валютной пары","shortname": "Валютная пара","searchable": true,"sortable": true,"visible": true,"link": "currencyPair","linkKeyCode": "id","linkCode": "name"
|
"type": 2,"length": 255,"name": "Наименование валютной пары","shortname": "Валютная пара","searchable": true,"sortable": true,"visible": false,"link": "currencyPair","linkKeyCode": "id","linkCode": "name"
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "settlementType",
|
{"code": "settlementType",
|
||||||
|
|
@ -3720,34 +3728,14 @@
|
||||||
{"code": "clearingOrganization",
|
{"code": "clearingOrganization",
|
||||||
"type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","searchable": true,"sortable": true,"visible": true
|
"type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
|
||||||
{"code": "settlementOrganization",
|
|
||||||
"type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","searchable": true,"sortable": true,"visible": true
|
|
||||||
}
|
|
||||||
,
|
,
|
||||||
{"code": "securityId",
|
{"code": "securityId",
|
||||||
"type": 1,"name": "Наименование инструмента","shortname": "Инструмент","searchable": true,"sortable": true,"link": "security","linkCode": "shortName"
|
"type": 1,"name": "Наименование инструмента","shortname": "Инструмент","searchable": true,"sortable": true,"link": "security","linkCode": "shortName"
|
||||||
}
|
}
|
||||||
,
|
|
||||||
{"code": "securitySymbol",
|
|
||||||
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "shortName",
|
|
||||||
"type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
|
||||||
}
|
|
||||||
,
|
,
|
||||||
{"code": "fullName",
|
{"code": "fullName",
|
||||||
"type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
"type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
||||||
}
|
}
|
||||||
,
|
|
||||||
{"code": "shortNameEng",
|
|
||||||
"type": 2,"length": 255,"name": "Краткое наименование инструмента на английском","shortname": "Краткое наименование на английском","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "fullNameEng",
|
|
||||||
"type": 2,"length": 255,"name": "Полное наименование инструмента на английском","shortname": "Наименование на английском","searchable": true,"sortable": true,"visible": true,"extends": "security"
|
|
||||||
}
|
|
||||||
,
|
,
|
||||||
{"code": "workflowStatus",
|
{"code": "workflowStatus",
|
||||||
"type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "workflowStatus","extends": "security"
|
"type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "workflowStatus","extends": "security"
|
||||||
|
|
@ -3780,7 +3768,7 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "securitySymbol",
|
{"code": "securitySymbol",
|
||||||
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","required": true
|
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Инструмент","required": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "shortName",
|
{"code": "shortName",
|
||||||
|
|
@ -3792,23 +3780,15 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "currencyPairId",
|
{"code": "currencyPairId",
|
||||||
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","link": "currencyPair","required": true
|
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Валютная пара","link": "currencyPair","linkKeyCode": "id","linkCode": "code","required": true
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "lotSize",
|
|
||||||
"type": 11,"name": "Размер лота","shortname": "Лот","required": true
|
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "minStep",
|
|
||||||
"type": 11,"name": "Шаг цены","shortname": "Шаг цены","required": true
|
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "baseUnitSize",
|
{"code": "baseUnitSize",
|
||||||
"type": 11,"name": "Количество валюты лота","shortname": "Количество","required": true
|
"type": 11,"name": "Количество валюты в лоте","shortname": "Количество валюты в лоте","required": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "settlementType",
|
{"code": "settlementType",
|
||||||
"type": 12,"dbname": "Тип расчета","name": "Тип расчета","shortname": "Тип расчета","link": "currencySettlementType","required": true
|
"type": 12,"dbname": "Тип расчета","name": "Тип расчета","shortname": "Тип расчета","link": "currencySettlementType","required": true,"linkCode": "code"
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "workflowStatus",
|
{"code": "workflowStatus",
|
||||||
|
|
@ -3839,7 +3819,7 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "securitySymbol",
|
{"code": "securitySymbol",
|
||||||
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","required": true
|
"type": 2,"length": 255,"name": "Код инструмента","shortname": "Инструмент","required": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "shortName",
|
{"code": "shortName",
|
||||||
|
|
@ -3851,23 +3831,15 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "currencyPairId",
|
{"code": "currencyPairId",
|
||||||
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","link": "currencyPair","required": true
|
"type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Валютная пара","link": "currencyPair","linkKeyCode": "id","linkCode": "code","required": true
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "lotSize",
|
|
||||||
"type": 11,"name": "Размер лота","shortname": "Лот","required": true
|
|
||||||
}
|
|
||||||
,
|
|
||||||
{"code": "minStep",
|
|
||||||
"type": 11,"name": "Шаг цены","shortname": "Шаг цены","required": true
|
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "baseUnitSize",
|
{"code": "baseUnitSize",
|
||||||
"type": 11,"name": "Количество валюты лота","shortname": "Количество","required": true
|
"type": 11,"name": "Количество валюты в лоте","shortname": "Количество валюты в лоте","required": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "settlementType",
|
{"code": "settlementType",
|
||||||
"dbname": "Тип расчета","name": "Тип расчета","shortname": "Тип расчета","link": "currencySettlementType","required": true
|
"dbname": "Тип расчета","name": "Тип расчета","shortname": "Тип расчета","link": "currencySettlementType","required": true,"linkCode": "code"
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "workflowStatus",
|
{"code": "workflowStatus",
|
||||||
|
|
@ -7326,11 +7298,11 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "createdAt",
|
{"code": "createdAt",
|
||||||
"field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true
|
"field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "updatedAt",
|
{"code": "updatedAt",
|
||||||
"field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true
|
"field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "inSDfId",
|
{"code": "inSDfId",
|
||||||
|
|
@ -7338,7 +7310,7 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "inSDf",
|
{"code": "inSDf",
|
||||||
"type": 2,"length": 255,"name": "Входящий файл","shortname": "Входящий","searchable": true,"sortable": true
|
"type": 2,"length": 255,"name": "Входящий файл","shortname": "Входящий","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "outSDfId",
|
{"code": "outSDfId",
|
||||||
|
|
@ -7346,7 +7318,7 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "outSDf",
|
{"code": "outSDf",
|
||||||
"type": 2,"length": 255,"name": "Исходящий файл","shortname": "Исходящий файл","searchable": true,"sortable": true
|
"type": 2,"length": 255,"name": "Исходящий файл","shortname": "Исходящий файл","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -7368,31 +7340,31 @@
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "createdAt",
|
{"code": "createdAt",
|
||||||
"field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true
|
"field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "updatedAt",
|
{"code": "updatedAt",
|
||||||
"field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true
|
"field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "requestId",
|
{"code": "requestId",
|
||||||
"type": 2,"length": 255,"name": "ID запроса","shortname": "ID","searchable": true,"sortable": true
|
"type": 2,"length": 255,"name": "ID запроса","shortname": "ID","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "nameRequest",
|
{"code": "nameRequest",
|
||||||
"type": 2,"length": 255,"name": "Наименование запроса","shortname": "Наименование","searchable": true,"sortable": true
|
"type": 2,"length": 255,"name": "Наименование запроса","shortname": "Наименование","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "request",
|
{"code": "request",
|
||||||
"type": 2,"length": 1023,"name": "Тело запроса","shortname": "Запрос","searchable": true,"sortable": true
|
"type": 2,"length": 1023,"name": "Тело запроса","shortname": "Запрос","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "result",
|
{"code": "result",
|
||||||
"type": 2,"length": 1023,"name": "Тело ответа","shortname": "Ответ","searchable": true,"sortable": true
|
"type": 2,"length": 1023,"name": "Тело ответа","shortname": "Ответ","searchable": true,"sortable": true,"visible": true
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
{"code": "gatewayResultStatus",
|
{"code": "gatewayResultStatus",
|
||||||
"type": 12,"name": "Статус запроса","shortname": "Статус","searchable": true,"sortable": true,"link": "gatewayResultStatus"
|
"type": 12,"name": "Статус запроса","shortname": "Статус","searchable": true,"sortable": true,"link": "gatewayResultStatus","visible": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -355,12 +355,12 @@ public class ValidationProvider {
|
||||||
SecuritiesError.RequiredFieldIsEmpty,
|
SecuritiesError.RequiredFieldIsEmpty,
|
||||||
SecuritiesError.MarketNotFound
|
SecuritiesError.MarketNotFound
|
||||||
),
|
),
|
||||||
FieldRequiredRule.instance("lotSize",
|
// FieldRequiredRule.instance("lotSize",
|
||||||
CurrencyPairSecurityNewRequest::getLotSize,
|
// CurrencyPairSecurityNewRequest::getLotSize,
|
||||||
SecuritiesError.RequiredFieldIsEmpty, true),
|
// SecuritiesError.RequiredFieldIsEmpty, true),
|
||||||
FieldRequiredRule.instance("minStep",
|
// FieldRequiredRule.instance("minStep",
|
||||||
CurrencyPairSecurityNewRequest::getMinStep,
|
// CurrencyPairSecurityNewRequest::getMinStep,
|
||||||
SecuritiesError.RequiredFieldIsEmpty, true),
|
// SecuritiesError.RequiredFieldIsEmpty, true),
|
||||||
FieldRequiredRule.instance("baseUnitSize",
|
FieldRequiredRule.instance("baseUnitSize",
|
||||||
CurrencyPairSecurityNewRequest::getBaseUnitSize,
|
CurrencyPairSecurityNewRequest::getBaseUnitSize,
|
||||||
SecuritiesError.RequiredFieldIsEmpty, true),
|
SecuritiesError.RequiredFieldIsEmpty, true),
|
||||||
|
|
@ -426,12 +426,12 @@ public class ValidationProvider {
|
||||||
SecuritiesError.RequiredFieldIsEmpty,
|
SecuritiesError.RequiredFieldIsEmpty,
|
||||||
SecuritiesError.MarketNotFound
|
SecuritiesError.MarketNotFound
|
||||||
),
|
),
|
||||||
FieldRequiredRule.instance("lotSize",
|
// FieldRequiredRule.instance("lotSize",
|
||||||
CurrencyPairSecurityUpdateRequest::getLotSize,
|
// CurrencyPairSecurityUpdateRequest::getLotSize,
|
||||||
SecuritiesError.RequiredFieldIsEmpty, true),
|
// SecuritiesError.RequiredFieldIsEmpty, true),
|
||||||
FieldRequiredRule.instance("minStep",
|
// FieldRequiredRule.instance("minStep",
|
||||||
CurrencyPairSecurityUpdateRequest::getMinStep,
|
// CurrencyPairSecurityUpdateRequest::getMinStep,
|
||||||
SecuritiesError.RequiredFieldIsEmpty, true),
|
// SecuritiesError.RequiredFieldIsEmpty, true),
|
||||||
FieldRequiredRule.instance("baseUnitSize",
|
FieldRequiredRule.instance("baseUnitSize",
|
||||||
CurrencyPairSecurityUpdateRequest::getBaseUnitSize,
|
CurrencyPairSecurityUpdateRequest::getBaseUnitSize,
|
||||||
SecuritiesError.RequiredFieldIsEmpty, true),
|
SecuritiesError.RequiredFieldIsEmpty, true),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue