This commit is contained in:
parent
79317a7fe7
commit
129ebf6acf
3 changed files with 13 additions and 11 deletions
|
|
@ -3,6 +3,9 @@ package ru.spcex.clearing.backendapi.controller.queue.securities;
|
|||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiResponse;
|
||||
import io.swagger.annotations.ApiResponses;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
|
@ -10,16 +13,12 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import ru.clearing.classes.statics.data.instrument.issue.EquitySecurity;
|
||||
import ru.clearing.classes.statics.data.instrument.issue.FixedIncomeSecurity;
|
||||
import ru.clearing.classes.statics.data.security.DigitalCertificateSecurity;
|
||||
import ru.clearing.classes.statics.data.security.MoneyMarketSecurity;
|
||||
import ru.clearing.classes.statics.data.security.Security;
|
||||
import ru.spcex.clearing.backendapi.controller.response.entity.CommonGetAllResponse;
|
||||
import ru.spcex.clearing.backendapi.service.IStateLoader;
|
||||
import ru.spcex.clearing.imdg.IMDGDistributedNames;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* SecurityController и MoneyMarketSecurityController разные контроллеры, не путать.
|
||||
*/
|
||||
|
|
@ -51,6 +50,9 @@ public class SecurityController {
|
|||
all.addAll(stateLoader.getAllMetaTransformSpecificClass(
|
||||
IMDGDistributedNames.Map_CurrencyPairSecurity, EquitySecurity.class
|
||||
));
|
||||
all.addAll(stateLoader.getAllMetaTransformSpecificClass(
|
||||
IMDGDistributedNames.Map_DigitalCertificateSecurity, DigitalCertificateSecurity.class
|
||||
));
|
||||
CommonGetAllResponse response = new CommonGetAllResponse();
|
||||
response.fromEntity(all);
|
||||
return response;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
{
|
||||
"version": "3.18.240.128",
|
||||
"version": "3.18.240.129",
|
||||
|
||||
"enums": {
|
||||
|
||||
|
|
@ -11071,7 +11071,7 @@
|
|||
}
|
||||
,
|
||||
{"code": "workflowStatus",
|
||||
"type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","required": true
|
||||
"type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","required": true,"link": "workflowStatus"
|
||||
}
|
||||
,
|
||||
{"code": "baseUnitSize",
|
||||
|
|
@ -11154,7 +11154,7 @@
|
|||
}
|
||||
,
|
||||
{"code": "workflowStatus",
|
||||
"type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","required": true
|
||||
"type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","required": true,"link": "workflowStatus"
|
||||
}
|
||||
,
|
||||
{"code": "baseUnitSize",
|
||||
|
|
|
|||
|
|
@ -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.18.240.128">
|
||||
<meta version="3.18.240.129">
|
||||
<!-- _xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" _xsi:noNamespaceSchemaLocation="file:///E:/d/projects/meta/from/meta.xsd" -->
|
||||
<!--Здесь словари-->
|
||||
<enums>
|
||||
|
|
@ -2567,7 +2567,7 @@
|
|||
<issuerId type="1" name="Наименование эмитента" shortname="Эмитент" link="company" linkCode="shortName" required="true"/>
|
||||
<shortNameEng type="2" length="255" name="Краткое наименование инструмента на английском" shortname="Краткое наименование на английском"/>
|
||||
<fullNameEng type="2" length="255" name="Полное наименование инструмента на английском" shortname="Наименование на английском"/>
|
||||
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" required="true"/>
|
||||
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" required="true" link="workflowStatus"/>
|
||||
<baseUnitSize type="3" name="Количество УЦП в одном ЦС" shortname="Количество УЦП в одном ЦС" required="true"/>
|
||||
<priceVarianceLimit type="10" name="Пределы изменения цены" shortname="Изменение цены" required="true"/>
|
||||
<nominalTypeCode type="2" length="1" name="Тип индексации номинала" shortname="Индексация номинала" link="nominalTypeCode" required="true"/>
|
||||
|
|
@ -2587,7 +2587,7 @@
|
|||
<issuerId type="1" name="Наименование эмитента" shortname="Эмитент" link="company" linkCode="shortName"/>
|
||||
<shortNameEng type="2" length="255" name="Краткое наименование инструмента на английском" shortname="Краткое наименование на английском"/>
|
||||
<fullNameEng type="2" length="255" name="Полное наименование инструмента на английском" shortname="Наименование на английском"/>
|
||||
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" required="true"/>
|
||||
<workflowStatus type="12" dbname="Код статуса" name="Наименование статуса" shortname="Статус" required="true" link="workflowStatus"/>
|
||||
<baseUnitSize type="3" name="Количество УЦП в одном ЦС" shortname="Количество УЦП в одном ЦС" required="true"/>
|
||||
<priceVarianceLimit type="10" name="Пределы изменения цены" shortname="Изменение цены" required="true"/>
|
||||
<nominalTypeCode type="2" length="1" name="Тип индексации номинала" shortname="Индексация номинала" link="nominalTypeCode" required="true"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue