|
|
@@ -1,54 +1,37 @@
|
|
|
/**
|
|
|
- * 查询套保品种详情
|
|
|
+ * 查询现货商品详情
|
|
|
*/
|
|
|
- export interface Ermcp3MiddleGoodsDetail {
|
|
|
- areauserid:number //机构用户ID
|
|
|
- enumdicname:string//单位名称
|
|
|
- goodsunitid:number//套保品种单位id
|
|
|
- gplst:TBGoodsGroup[]//期货品种列表
|
|
|
- middlegoodscode:string//套保品种代码
|
|
|
- middlegoodsid:number//套保品种ID(SEQ_ERMS_MIDDLEGOODS)
|
|
|
- middlegoodsnam:string//套保品种名称
|
|
|
- needarbitrageratio:number//套利比率
|
|
|
- needhedgeratio:number//套保比率
|
|
|
- wdlst:TBWrstandard[]//商品信息列表(现货品类)
|
|
|
- mg:ErmcpMiddleGoodsModel//套保品种
|
|
|
+ export interface Ermcp3DeliveryGoodsDetail {
|
|
|
+ areauserid:number//所属机构
|
|
|
+ bdlst:XHBRAND[]//品牌列表
|
|
|
+ deliverygoodscode:string//现货品种代码
|
|
|
+ deliverygoodsid:number//现货品种ID(SEQ_DELIVERYGOODS)
|
|
|
+ deliverygoodsname:string//现货品种名称
|
|
|
+ dgstatus:number//品种状态 - 作废 - 0:未激活 1:正常
|
|
|
+ isvalid:number//是否有效 - 0:无效 1:有效
|
|
|
+ remark:string//备注
|
|
|
+ unitid:number//单位id(目前看,数据库中是空值)
|
|
|
+ wdlst:XHWrstandard[]//品类(现货商品)列表
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
- * 套保品种
|
|
|
+ * 品牌列表
|
|
|
*/
|
|
|
- export interface ErmcpMiddleGoodsModel {
|
|
|
- areauserid: number;//机构用户ID
|
|
|
- createtime: string;//修改时间
|
|
|
- enumdicname: string;//单位名称
|
|
|
- evaluateratio: number;//估价系数
|
|
|
- goodsgroupid: number;//关联期货品种ID
|
|
|
- goodsunitid: number;//单位ID
|
|
|
- isvalid: number;//状态 number;
|
|
|
- //-无效(停用) 1-有效(正常)
|
|
|
- middlegoodscode: string;//套保品种代码
|
|
|
- middlegoodsid: number;//套保品种ID(SEQ_ERMS_MIDDLEGOODS)
|
|
|
- middlegoodsname: string;//套保品种名称
|
|
|
- modifytime: string;//修改时间
|
|
|
- needhedgeratio: number;//套保比率
|
|
|
- qtydecimalplace: number;//数量小数位
|
|
|
- relatedgoodsid: number;//关联交易商品ID
|
|
|
- relatedgoodstype: number;//关联商品类型 - 1:期货合约 2:现货品种
|
|
|
- remark: string;//备注
|
|
|
+interface XHBRAND{
|
|
|
+ brandid:number//品牌id
|
|
|
+ brandname:string//品牌名称
|
|
|
+ isvalid:number//是否有效 0-无效 1-有效
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/**
|
|
|
- * 商品信息列表(现货品类)
|
|
|
+ * 品类(现货商品)列表
|
|
|
*/
|
|
|
- interface TBWrstandard{
|
|
|
- convertratio:number//折算系数
|
|
|
- deliverygoodsname:string//品种名称
|
|
|
- enumdicname:string//单位名称
|
|
|
+interface XHWrstandard{
|
|
|
+ deliverygoodsid:number//品种ID
|
|
|
+ enumdicnam:string//单位名称
|
|
|
+ mglst:XHMiddleGoods[]//套保品列表
|
|
|
+ unitid:number//单位id
|
|
|
vatrate:number//增值税率
|
|
|
wrstandardcode:string//现货商品代码
|
|
|
wrstandardid:number//现货商品ID(SEQ_WRSTANDARD)
|
|
|
@@ -56,27 +39,41 @@
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 期货品种列表
|
|
|
+ * 套保品列表
|
|
|
*/
|
|
|
- interface TBGoodsGroup{
|
|
|
+interface XHMiddleGoods{
|
|
|
+ convertratio:number//拆算系数
|
|
|
+ costratio:number//成本权重
|
|
|
+ deliverygoodsid:number//现货商品id
|
|
|
+ enumdicname:string//单位名称
|
|
|
+ gplst:TBGoodsGroup[]//期货品种列表
|
|
|
+ middlegoodscode:string//套保品种代码
|
|
|
+ middlegoodsid:number//套保品种id
|
|
|
+ middlegoodsname:string//套保品种名称
|
|
|
+ unitid:number//单位id
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ *期货品种列表
|
|
|
+ */
|
|
|
+interface TBGoodsGroup{
|
|
|
convertratio:number//折算系数
|
|
|
enumdicname:string//单位名称
|
|
|
exexchangecode:string//交易所代码
|
|
|
exexchangename:string//交易所名称
|
|
|
gdlst:TBGoods[]//商品列表
|
|
|
- goodsgroupid:Number//商品组ID(自增ID)
|
|
|
+ goodsgroupid:number//商品组ID(自增ID)
|
|
|
goodsgroupname:string//商品组名称
|
|
|
goodunitid:number//报价单位ID
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 商品列表
|
|
|
+ *商品列表
|
|
|
*/
|
|
|
- interface TBGoods{
|
|
|
+interface TBGoods{
|
|
|
agreeunit:number//合约乘数
|
|
|
enumdicname:string//单位名称
|
|
|
goodscode:string//商品代码(内部)
|
|
|
goodsid:number//商品ID(自增ID SEQ_GOODS)
|
|
|
goodsname:string//商品名称
|
|
|
-
|
|
|
}
|