etreschenkov 2024-10-02 13:48:10 +03:00
parent d9fdfba69a
commit cc48b21066
8 changed files with 10595 additions and 10092 deletions

View file

@ -0,0 +1,74 @@
package ru.spcex.clearing.backendapi.controller.queue.misc;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import java.util.Collection;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
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.security.Rates;
import ru.spcex.clearing.backendapi.controller.queue.AbstractQueueController;
import ru.spcex.clearing.backendapi.controller.request.cud.securities.RatesNewAction;
import ru.spcex.clearing.backendapi.controller.request.cud.securities.RatesUpdateAction;
import ru.spcex.clearing.backendapi.controller.response.BasicSpcexResponse;
import ru.spcex.clearing.backendapi.controller.response.cud.CudResponse;
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.clearing.platform.messaging.domain.Consts;
@Controller
@RequestMapping("/rates")
public class RatesController extends AbstractQueueController {
private final IStateLoader stateLoader;
@Autowired
public RatesController(IOperator operator, IStateLoader stateLoader) {
super(operator);
this.stateLoader = stateLoader;
}
@ApiOperation(value = "get all rates.")
@ApiResponses(value = {@ApiResponse(code = 200, message = "OK", response = CommonGetAllResponse.class)})
@RequestMapping(method = RequestMethod.GET)
@ResponseBody
public CommonGetAllResponse getAll() {
Collection<Map<String, Object>> all = stateLoader.getAllMetaTransform(IMDGDistributedNames.Map_Rates, Rates.class);
CommonGetAllResponse response = new CommonGetAllResponse();
response.fromEntity(all);
return response;
}
@ApiOperation(value = "create rates.")
@ApiResponses(value = {@ApiResponse(code = 200, message = "OK", response = CudResponse.class), @ApiResponse(code = 400, message = "Ошибка валидации", response = BasicSpcexResponse.class)})
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public CudResponse create(
@ApiParam(value = "Значения полей нового объекта.", required = true)
@RequestBody RatesNewAction ratesNewAction) throws ExecutionException, InterruptedException {
return processRequest(Consts.DESTINATION_RATES_NEW, ratesNewAction);
}
@ApiOperation(value = "update risk_parameter.")
@ApiResponses(value = {@ApiResponse(code = 200, message = "OK", response = CudResponse.class), @ApiResponse(code = 400, message = "Ошибка валидации", response = BasicSpcexResponse.class)})
@RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public CudResponse update(
@ApiParam(value = "Идентификатор изменяемого объекта.", required = true, example = "1234")
@PathVariable("id") Long id,
@ApiParam(value = "Новые значения полей объекта.", required = true)
@RequestBody RatesUpdateAction ratesUpdateAction) throws ExecutionException, InterruptedException {
ratesUpdateAction.setId(id);
return processRequest(Consts.DESTINATION_RATES_UPDATE, ratesUpdateAction);
}
}

View file

@ -0,0 +1,74 @@
package ru.spcex.clearing.backendapi.controller.queue.misc;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import java.util.Collection;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
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.security.RiskParameter;
import ru.spcex.clearing.backendapi.controller.queue.AbstractQueueController;
import ru.spcex.clearing.backendapi.controller.request.cud.securities.RiskParameterNewAction;
import ru.spcex.clearing.backendapi.controller.request.cud.securities.RiskParameterUpdateAction;
import ru.spcex.clearing.backendapi.controller.response.BasicSpcexResponse;
import ru.spcex.clearing.backendapi.controller.response.cud.CudResponse;
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.clearing.platform.messaging.domain.Consts;
@Controller
@RequestMapping("/risk-parameter")
public class RiskParameterController extends AbstractQueueController {
private final IStateLoader stateLoader;
@Autowired
public RiskParameterController(IOperator operator, IStateLoader stateLoader) {
super(operator);
this.stateLoader = stateLoader;
}
@ApiOperation(value = "get all risk_parameter.")
@ApiResponses(value = {@ApiResponse(code = 200, message = "OK", response = CommonGetAllResponse.class)})
@RequestMapping(method = RequestMethod.GET)
@ResponseBody
public CommonGetAllResponse getAll() {
Collection<Map<String, Object>> all = stateLoader.getAllMetaTransform(IMDGDistributedNames.Map_RiskParameter, RiskParameter.class);
CommonGetAllResponse response = new CommonGetAllResponse();
response.fromEntity(all);
return response;
}
@ApiOperation(value = "create risk_parameter.")
@ApiResponses(value = {@ApiResponse(code = 200, message = "OK", response = CudResponse.class), @ApiResponse(code = 400, message = "Ошибка валидации", response = BasicSpcexResponse.class)})
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public CudResponse create(
@ApiParam(value = "Значения полей нового объекта.", required = true)
@RequestBody RiskParameterNewAction riskParameterNewAction) throws ExecutionException, InterruptedException {
return processRequest(Consts.DESTINATION_RISK_PARAMETER_NEW, riskParameterNewAction);
}
@ApiOperation(value = "update risk_parameter.")
@ApiResponses(value = {@ApiResponse(code = 200, message = "OK", response = CudResponse.class), @ApiResponse(code = 400, message = "Ошибка валидации", response = BasicSpcexResponse.class)})
@RequestMapping(value = "/{id}", method = RequestMethod.PUT, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public CudResponse update(
@ApiParam(value = "Идентификатор изменяемого объекта.", required = true, example = "1234")
@PathVariable("id") Long id,
@ApiParam(value = "Новые значения полей объекта.", required = true)
@RequestBody RiskParameterUpdateAction riskParameterUpdateAction) throws ExecutionException, InterruptedException {
riskParameterUpdateAction.setId(id);
return processRequest(Consts.DESTINATION_RISK_PARAMETER_UPDATE, riskParameterUpdateAction);
}
}

View file

@ -0,0 +1,73 @@
package ru.spcex.clearing.backendapi.controller.request.cud.securities;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDate;
import ru.spcex.clearing.backendapi.domain.actions.IAction;
import ru.spcex.clearing.platform.messaging.domain.ActionType;
import ru.spcex.clearing.platform.messaging.domain.cud.security.RatesNewRequest;
public class RatesNewAction implements IAction<RatesNewRequest> {
@ApiModelProperty(value = "Курс.", example = "1234")
@JsonProperty
private BigDecimal value;
@ApiModelProperty(value = "Дата.", example = "1234")
@JsonProperty
private LocalDate valueDate;
@ApiModelProperty(value = "Валюта.", example = "1234")
@JsonProperty
private Long currencyPairId;
@ApiModelProperty(value = "Статус.", example = "1234")
@JsonProperty
private String status;
@Override
public RatesNewRequest toRequest() {
RatesNewRequest request = new RatesNewRequest();
request.setValue(this.value);
request.setValueDate(this.valueDate);
request.setCurrencyPairId(this.currencyPairId);
request.setStatus(this.status);
return request;
}
@ApiModelProperty(hidden = true)
@Override
public ActionType getActionType() {
return ActionType.NEW;
}
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
this.value = value;
}
public LocalDate getValueDate() {
return valueDate;
}
public void setValueDate(LocalDate valueDate) {
this.valueDate = valueDate;
}
public Long getCurrencyPairId() {
return currencyPairId;
}
public void setCurrencyPairId(Long currencyPairId) {
this.currencyPairId = currencyPairId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}

View file

@ -0,0 +1,59 @@
package ru.spcex.clearing.backendapi.controller.request.cud.securities;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import ru.spcex.clearing.backendapi.domain.actions.IAction;
import ru.spcex.clearing.platform.messaging.domain.ActionType;
import ru.spcex.clearing.platform.messaging.domain.cud.security.RatesNewRequest;
public class RatesUpdateAction implements IAction<RatesNewRequest> {
@ApiModelProperty(hidden = true)
@JsonProperty
public Long id;
@ApiModelProperty(value = "Курс.", example = "1234")
@JsonProperty
private BigDecimal value;
@ApiModelProperty(value = "Статус.", example = "1234")
@JsonProperty
private String status;
@Override
public RatesNewRequest toRequest() {
RatesNewRequest request = new RatesNewRequest();
request.setValue(this.value);
request.setStatus(this.status);
return request;
}
@ApiModelProperty(hidden = true)
@Override
public ActionType getActionType() {
return ActionType.NEW;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
this.value = value;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}

View file

@ -0,0 +1,72 @@
package ru.spcex.clearing.backendapi.controller.request.cud.securities;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import ru.spcex.clearing.backendapi.domain.actions.IAction;
import ru.spcex.clearing.platform.messaging.domain.ActionType;
import ru.spcex.clearing.platform.messaging.domain.cud.security.RiskParameterNewRequest;
public class RiskParameterNewAction implements IAction<RiskParameterNewRequest> {
@ApiModelProperty(value = "Курс.", example = "1234")
@JsonProperty
private BigDecimal value;
@ApiModelProperty(value = "Код расчёта.", example = "1234")
@JsonProperty
private String settlementType;
@ApiModelProperty(value = "Валютная пара.", example = "1234")
@JsonProperty
private Long currencyPairId;
@ApiModelProperty(value = "Статус.", example = "1234")
@JsonProperty
private String status;
@Override
public RiskParameterNewRequest toRequest() {
RiskParameterNewRequest request = new RiskParameterNewRequest();
request.setValue(this.value);
request.setSettlementType(this.settlementType);
request.setCurrencyPairId(this.currencyPairId);
request.setStatus(this.status);
return request;
}
@ApiModelProperty(hidden = true)
@Override
public ActionType getActionType() {
return ActionType.NEW;
}
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
this.value = value;
}
public String getSettlementType() {
return settlementType;
}
public void setSettlementType(String settlementType) {
this.settlementType = settlementType;
}
public Long getCurrencyPairId() {
return currencyPairId;
}
public void setCurrencyPairId(Long currencyPairId) {
this.currencyPairId = currencyPairId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}

View file

@ -0,0 +1,59 @@
package ru.spcex.clearing.backendapi.controller.request.cud.securities;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import ru.spcex.clearing.backendapi.domain.actions.IAction;
import ru.spcex.clearing.platform.messaging.domain.ActionType;
import ru.spcex.clearing.platform.messaging.domain.cud.security.RiskParameterUpdateRequest;
public class RiskParameterUpdateAction implements IAction<RiskParameterUpdateRequest> {
@ApiModelProperty(hidden = true)
@JsonProperty
public Long id;
@ApiModelProperty(value = "Курс.", example = "1234")
@JsonProperty
private BigDecimal value;
@ApiModelProperty(value = "Статус.", example = "1234")
@JsonProperty
private String status;
@Override
public RiskParameterUpdateRequest toRequest() {
RiskParameterUpdateRequest request = new RiskParameterUpdateRequest();
request.setValue(this.value);
request.setStatus(this.status);
return request;
}
@ApiModelProperty(hidden = true)
@Override
public ActionType getActionType() {
return ActionType.NEW;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
this.value = value;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}

View file

@ -1,6 +1,6 @@
{
"version": "3.14.105.104",
{
"version": "3.15.206.105",
"enums": {
@ -1515,7 +1515,7 @@
}
,"objects": {
,"objects": {
"dbVersion": {
@ -1542,7 +1542,7 @@
]
}
,
,
"userCls": {
"name": "Пользователь",
@ -1609,7 +1609,7 @@
}
]
}
,
,
"userRoleSession": {
"name": "Набор ролей",
@ -1643,7 +1643,7 @@
]
}
,
,
"userSettings": {
"name": "Настройки пользователя",
@ -1692,7 +1692,7 @@
}
]
}
,
,
"userConnect": {
"name": "Активность пользователей в системе",
@ -1754,7 +1754,7 @@
]
}
,
,
"company": {
"name": "Компании",
@ -1858,7 +1858,7 @@
}
]
}
,
,
"companyInfo": {
"name": "Профили компаний",
@ -2001,7 +2001,7 @@
}
]
}
,
,
"clearingMemberCategory": {
"name": "Категории участника клиринга",
@ -2072,7 +2072,7 @@
}
]
}
,
,
"contact": {
"name": "Контакты компании",
@ -2153,7 +2153,7 @@
}
]
}
,
,
"profileDocument": {
"name": "Досье компании",
@ -2354,7 +2354,7 @@
}
]
}
,
,
"companySymbols": {
"name": "Реквизиты компании",
@ -2437,7 +2437,7 @@
}
]
}
,
,
"companyRoleSet": {
"name": "Таблица ролей компании",
@ -2526,7 +2526,7 @@
}
]
}
,
,
"settlementHouseProperties": {
"name": "Параметры расчетной организации",
@ -2601,7 +2601,7 @@
}
]
}
,
,
"security": {
"name": "Инструменты",
@ -2669,7 +2669,7 @@
]
}
,
,
"currency": {
"name": "Валюты",
@ -2697,7 +2697,7 @@
]
}
,
,
"moneyMarketSecurity": {
"name": "Спецификации Денежного рынка",
@ -2970,7 +2970,7 @@
}
]
}
,
,
"tradedMoneyMarketSecurity": {
"name": "Спецификации денежного рынка, учавствующие в сделках",
@ -3000,7 +3000,7 @@
]
}
,
,
"equitySecurity": {
"name": "Акции",
@ -3197,7 +3197,7 @@
}
]
}
,
,
"fixedIncomeSecurity": {
"name": "Облигации",
@ -3466,7 +3466,7 @@
}
]
}
,
,
"fixedIncomeCashFlow": {
"name": "Выплаты по купонам",
@ -3506,7 +3506,7 @@
]
}
,
,
"couponPeriod": {
"name": "Купонное расписание",
@ -3546,7 +3546,7 @@
]
}
,
,
"listing": {
"name": "Инструменты на режимах",
@ -3691,7 +3691,7 @@
}
]
}
,
,
"currencyPairSecurity": {
"name": "Инструменты валютного рынка",
@ -3872,7 +3872,7 @@
}
]
}
,
,
"market": {
"name": "Рынки",
@ -3928,7 +3928,7 @@
]
}
,
,
"errorText": {
"name": "Полные тексты ошибок",
@ -3970,7 +3970,7 @@
]
}
,
,
"clientCode": {
"name": "Коды клиентов компании",
@ -4123,7 +4123,7 @@
}
]
}
,
,
"tradingClearingRegistry": {
"name": "Торгово-клиринговый регистр",
@ -4264,7 +4264,7 @@
}
]
}
,
,
"tradingClearingRegistryList": {
"name": "Список счетов ТКР",
@ -4346,7 +4346,7 @@
}
]
}
,
,
"registry": {
"name": "Регистр активов, обязательств и требований УК",
@ -4701,7 +4701,7 @@
}
]
}
,
,
"account": {
"name": "Счета",
@ -4834,7 +4834,7 @@
}
]
}
,
,
"relation": {
"name": "Доступ в секцию",
@ -4907,7 +4907,7 @@
}
]
}
,
,
"bankAccount": {
"name": "Счета вывода средств",
@ -5304,7 +5304,7 @@
}
]
}
,
,
"informationAccount": {
"name": "Регистр КС",
@ -5340,7 +5340,7 @@
]
}
,
,
"depoAccount": {
"name": "Депозитарные счета",
@ -5376,7 +5376,7 @@
]
}
,
,
"accountSymbols": {
"name": "Депо КС - РДЦ",
@ -5434,7 +5434,7 @@
}
]
}
,
,
"clearingAccount": {
"name": "Торгово-Банковские счета",
@ -5470,7 +5470,7 @@
]
}
,
,
"plannerTemplate": {
"name": "Шаблон расписания операционного дня",
@ -5621,7 +5621,7 @@
}
]
}
,
,
"clearingCalendar": {
"name": "Рабочие и нерабочие дни",
@ -5720,7 +5720,7 @@
}
]
}
,
,
"planner": {
"name": "Расписание на все даты",
@ -5883,7 +5883,7 @@
}
]
}
,
,
"plannerAllToday": {
"name": "Расписание на текущий день",
@ -5945,7 +5945,7 @@
]
}
,
,
"launcher": {
"name": "Запуск задачи",
@ -6262,7 +6262,7 @@
}
]
}
,
,
"session": {
"name": "Клиринговые сессии",
@ -6324,7 +6324,7 @@
]
}
,
,
"sTrades": {
"name": "Сделки из Торговой системы",
@ -6524,7 +6524,7 @@
]
}
,
,
"executionDeposit": {
"name": "Сделки на секции МКР",
@ -6678,7 +6678,7 @@
]
}
,
,
"executionFond": {
"name": "Сделки на Фондовой секции",
@ -6828,7 +6828,7 @@
]
}
,
,
"executionCurrency": {
"name": "Сделки с валютными инструментами",
@ -6964,7 +6964,7 @@
]
}
,
,
"depoBalanceRegister": {
"name": "Реестр остатков ценных бумаг",
@ -7020,7 +7020,7 @@
]
}
,
,
"moneyBalanceRegister": {
"name": "Реестр остатков денежных средств",
@ -7096,7 +7096,7 @@
]
}
,
,
"admittedLiabilitiesRegister": {
"name": "Реестр обязательств, допущенных к клирингу",
@ -7160,7 +7160,7 @@
]
}
,
,
"coveredLiabilitiesRegister": {
"name": "Реестр обязательств, прошедших процедуру контроля обеспечения",
@ -7224,7 +7224,7 @@
]
}
,
,
"moneyPaymentInstructionRegister": {
"name": "Реестр распоряжений, направленных расчетной организации",
@ -7280,7 +7280,7 @@
]
}
,
,
"depoPaymentInstructionRegister": {
"name": "Реестр распоряжений, направленных расчетному депозитарию",
@ -7336,7 +7336,7 @@
]
}
,
,
"excludeLiabilitiesRegister": {
"name": "Реестр обязательств, исключенных из клирингового пула",
@ -7416,7 +7416,7 @@
]
}
,
,
"pairSdf": {
"name": "Пары файлов",
@ -7458,7 +7458,7 @@
]
}
,
,
"gatewayResult": {
"name": "Результаты запросов к ТС",
@ -7504,7 +7504,7 @@
]
}
,
,
"liabilitiesRegister": {
"name": "Реестр учета обязательств",
@ -7584,7 +7584,7 @@
]
}
,
,
"executionRegister": {
"name": "Реестр сделок",
@ -7680,7 +7680,7 @@
]
}
,
,
"statement": {
"name": "Транзакции по деньгам/бумагам",
@ -7778,7 +7778,7 @@
]
}
,
,
"paymentInstruction": {
"name": "Платежные поручения",
@ -7947,7 +7947,7 @@
}
]
}
,
,
"notification": {
"name": "Сообщения",
@ -8024,7 +8024,7 @@
}
]
}
,
,
"verificationResult": {
"name": "Результаты сверки",
@ -8086,7 +8086,7 @@
]
}
,
,
"sDf01": {
"name": "ДФ-01 Информация о денежных средствах, находящихся на торгово-банковских счетах участников клиринга",
@ -8164,7 +8164,7 @@
]
}
,
,
"sDf02": {
"name": "ДФ-02 Уведомление об исполнении операции загрузки денежных средств или уведомление об ошибке",
@ -8250,7 +8250,7 @@
]
}
,
,
"sDf03": {
"name": "ДФ-03 Реестр платежных поручений",
@ -8368,7 +8368,7 @@
]
}
,
,
"sDf04": {
"name": "ДФ-04 Подтверждение проведения расчетов",
@ -8482,7 +8482,7 @@
]
}
,
,
"sDf05": {
"name": "ДФ-05 Уведомление о завершении расчетов",
@ -8524,7 +8524,7 @@
]
}
,
,
"sDf06": {
"name": "ДФ-06 Запрос на зачисление/списание денежных средств",
@ -8606,7 +8606,7 @@
]
}
,
,
"sDf07": {
"name": "ДФ-07 Ответ на запрос по зачислению/списанию денежных средств",
@ -8696,7 +8696,7 @@
]
}
,
,
"sDf08": {
"name": "ДФ-08 Загрузка счетов с остатками",
@ -8746,7 +8746,7 @@
]
}
,
,
"sDf09": {
"name": "ДФ-09 Ответ на загрузку счетов с остатками",
@ -8800,7 +8800,7 @@
]
}
,
,
"sDf10": {
"name": "ДФ-10 Запрос на зачисление/списание ценных бумаг",
@ -8850,7 +8850,7 @@
]
}
,
,
"sDf11": {
"name": "ДФ-11 Ответ на Запрос на зачисление/списание ценных бумаг",
@ -8904,7 +8904,7 @@
]
}
,
,
"sDf12": {
"name": "ДФ-12 Распоряжение на проведение операций по итогам клиринга",
@ -8970,7 +8970,7 @@
]
}
,
,
"sDf13": {
"name": "ДФ-13 Уведомление о статусе исполнения или мотивированный отказ",
@ -9016,7 +9016,7 @@
]
}
,
,
"sDf14": {
"name": "ДФ-14 Уведомление о завершении расчетов",
@ -9050,7 +9050,7 @@
]
}
,
,
"sDf20": {
"name": "ДФ-20 Отчет об исполнении поручения на зачисление/списание ценных бумаг",
@ -9136,7 +9136,7 @@
]
}
,
,
"sDf21": {
"name": "ДФ-21 Отчет об операциях",
@ -9226,7 +9226,7 @@
]
}
,
,
"sDf51": {
"name": "ДФ-51 Запрос остатков по всем счетам",
@ -9260,7 +9260,7 @@
]
}
,
,
"sDf52": {
"name": "ДФ-52 Информация о состоянии счета (блокировка/разблокировка/закрытие/открытие)",
@ -9314,7 +9314,7 @@
]
}
,
,
"sDf53": {
"name": "ДФ-53 Квитанция о получении информации о состоянии счета (блокировка/разблокировка/закрытие/открытие)",
@ -9376,7 +9376,7 @@
]
}
,
,
"sDf54": {
"name": "ДФ-54 Вывод свободных средств для инициаторов категории В с клирингового счета 30414",
@ -9582,7 +9582,7 @@
]
}
,
,
"sDf55": {
"name": "ДФ-55 Квитанция об обработке ДФ-54",
@ -9792,7 +9792,7 @@
]
}
,
,
"sDf56": {
"name": "ДФ-56 Запрос транзакций за период",
@ -9838,7 +9838,7 @@
]
}
,
,
"sDf57": {
"name": "ДФ-57 Список транзакций о списании/зачислении за период по всем счетам (ТБС и КС)",
@ -10040,7 +10040,7 @@
]
}
,
,
"managementJournal": {
"name": "Журнал мониторинга и контроля",
@ -10102,7 +10102,7 @@
]
}
,
,
"inDocumentJournal": {
"name": "Журнал входящих документов",
@ -10176,7 +10176,7 @@
]
}
,
,
"outDocumentJournal": {
"name": "Журнал исходящих документов",
@ -10246,7 +10246,7 @@
]
}
,
,
"reportRegister": {
"name": "Реестр отправленных отчетов",
@ -10300,7 +10300,7 @@
]
}
,
,
"contractRegister": {
"name": "Журнал регистрации договоров",
@ -10382,7 +10382,7 @@
]
}
,
,
"operation": {
"name": "Проводки",
@ -10428,7 +10428,7 @@
]
}
,
,
"marketDataLiquidation": {
"name": "Статичная ценовая информация для ликвидации активов",
@ -10458,7 +10458,7 @@
]
}
,
,
"sCrossRate": {
"name": "Кросс курсы валют от ЦБ",
@ -10516,7 +10516,7 @@
]
}
,
,
"blacklistMarket": {
"name": "blacklist площадок",
@ -10542,14 +10542,90 @@
]
}
,
"riskParameter": {
"name": "Параметры риска",
"destination": "risk-parameter",
"class": "ru.clearing.classes.statics.data.security.RiskParameter",
"table": "risk-parameter",
"fields": [
{"code": "id",
"type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true,"visible": true
}
,
{"code": "value",
"name": "Ставка","shortname": "Ставка","type": 10
}
,
{"code": "settlementType",
"name": "Код расчета","shortname": "Код расчета","type": 2,"length": 4
}
,
{"code": "currencyPair",
"name": "Код валютной пары","shortname": "Код валютной пары","type": 2,"length": 12
}
,
{"code": "currencyPairId",
"name": "Идентификатор валютной пары","shortname": "Валютная пара","type": 1
}
,
{"code": "workflowStatus",
"name": "Статус","shortname": "Секция","type": 2,"length": 4
}
]
}
,
"rates": {
"name": "Расчетные курсы",
"destination": "rates",
"class": "ru.clearing.classes.statics.data.security.Rates",
"table": "rates",
"fields": [
{"code": "id",
"type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true,"visible": true
}
,
{"code": "value",
"name": "Расчетный курс","shortname": "Расчетный курс","type": 10
}
,
{"code": "valueDate",
"name": "Дата, на которую расчетный курс","shortname": "Дата","type": 6
}
,
{"code": "currency",
"name": "Код валюты","shortname": "Код валюты","type": 2,"length": 4
}
,
{"code": "currencyId",
"name": "Идентификатор валюты","shortname": "Валюта","type": 1
}
,
{"code": "workflowStatus",
"name": "Статус","shortname": "Секция","type": 2,"length": 4
}
]
}
,"views": {
}
}
,"views": {
,"types": [
}
,"types": [
{
"code": "identity",
@ -10563,7 +10639,7 @@
"javatype": "Long"
}
,
,
{
"code": "string",
@ -10576,7 +10652,7 @@
"javatype": "String"
}
,
,
{
"code": "long",
@ -10589,7 +10665,7 @@
"javatype": "Long"
}
,
,
{
"code": "dateTime",
@ -10602,7 +10678,7 @@
"javatype": "Instant"
}
,
,
{
"code": "time",
@ -10615,7 +10691,7 @@
"javatype": "LocalTime"
}
,
,
{
"code": "date",
@ -10628,7 +10704,7 @@
"javatype": "LocalDate"
}
,
,
{
"code": "array",
@ -10641,7 +10717,7 @@
"javatype": "String"
}
,
,
{
"code": "object",
@ -10654,7 +10730,7 @@
"javatype": "String"
}
,
,
{
"code": "boolean",
@ -10667,7 +10743,7 @@
"javatype": "Boolean"
}
,
,
{
"code": "double",
@ -10680,7 +10756,7 @@
"javatype": "BigDecimal"
}
,
,
{
"code": "amount",
@ -10693,7 +10769,7 @@
"javatype": "BigDecimal"
}
,
,
{
"code": "code",
@ -10707,7 +10783,7 @@
}
]
]
}
}

View file

@ -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.14.105.104">
<meta version="3.15.206.105">
<!-- _xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" _xsi:noNamespaceSchemaLocation="file:///E:/d/projects/meta/from/meta.xsd" -->
<!--Здесь словари-->
<enums>
@ -2442,6 +2442,22 @@
<code name="Код рынка" shortname="Код рынка" type="2" length="12"/>
<section name="Секция" shortname="Секция" type="12"/>
</blacklistMarket>
<riskParameter name="Параметры риска" destination="risk-parameter" class="ru.clearing.classes.statics.data.security.RiskParameter" table="risk-parameter">
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true" visible="true"/>
<value name="Ставка" shortname="Ставка" type="10"/>
<settlementType name="Код расчета" shortname="Код расчета" type="2" length="4"/>
<currencyPair name="Код валютной пары" shortname="Код валютной пары" type="2" length="12"/>
<currencyPairId name="Идентификатор валютной пары" shortname="Валютная пара" type="1"/>
<workflowStatus name="Статус" shortname="Секция" type="2" length="4"/>
</riskParameter>
<rates name="Расчетные курсы" destination="rates" class="ru.clearing.classes.statics.data.security.Rates" table="rates">
<id type="1" name="Идентификатор записи" shortname="ID" searchable="true" sortable="true" visible="true"/>
<value name="Расчетный курс" shortname="Расчетный курс" type="10"/>
<valueDate name="Дата, на которую расчетный курс" shortname="Дата" type="6"/>
<currency name="Код валюты" shortname="Код валюты" type="2" length="4"/>
<currencyId name="Идентификатор валюты" shortname="Валюта" type="1"/>
<workflowStatus name="Статус" shortname="Секция" type="2" length="4"/>
</rates>
</objects>
<views>
<AccountUnion>