|
|
@@ -1,79 +1,85 @@
|
|
|
+export interface Ermcp3DeliveryGoodsDetailReq {
|
|
|
+ userid: number//用户id
|
|
|
+ usertype: number//用户类型 2-机构 7-企业成员
|
|
|
+ deliverygoodsid?: number//现货商品id
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* 查询现货商品详情
|
|
|
*/
|
|
|
- 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 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[]//品类(现货商品)列表
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 品牌列表
|
|
|
*/
|
|
|
-interface XHBRAND{
|
|
|
- brandid:number//品牌id
|
|
|
- brandname:string//品牌名称
|
|
|
- isvalid:number//是否有效 0-无效 1-有效
|
|
|
+export interface XHBRAND {
|
|
|
+ brandid: number//品牌id
|
|
|
+ brandname: string//品牌名称
|
|
|
+ isvalid: number//是否有效 0-无效 1-有效
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 品类(现货商品)列表
|
|
|
*/
|
|
|
-interface XHWrstandard{
|
|
|
- deliverygoodsid:number//品种ID
|
|
|
- enumdicnam:string//单位名称
|
|
|
- mglst:XHMiddleGoods[]//套保品列表
|
|
|
- unitid:number//单位id
|
|
|
- vatrate:number//增值税率
|
|
|
- wrstandardcode:string//现货商品代码
|
|
|
- wrstandardid:number//现货商品ID(SEQ_WRSTANDARD)
|
|
|
- wrstandardname:string//现货商品名称
|
|
|
+export interface XHWrstandard {
|
|
|
+ deliverygoodsid: number//品种ID
|
|
|
+ enumdicnam: string//单位名称
|
|
|
+ mglst: XHMiddleGoods[]//套保品列表
|
|
|
+ unitid: number//单位id
|
|
|
+ vatrate: number//增值税率
|
|
|
+ wrstandardcode: string//现货商品代码
|
|
|
+ wrstandardid: number//现货商品ID(SEQ_WRSTANDARD)
|
|
|
+ wrstandardname: string//现货商品名称
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 套保品列表
|
|
|
*/
|
|
|
-interface XHMiddleGoods{
|
|
|
- convertratio:number//拆算系数
|
|
|
- costratio:number//成本权重
|
|
|
- deliverygoodsid:number//现货商品id
|
|
|
- enumdicname:string//单位名称
|
|
|
- gplst:TBGoodsGroup[]//期货品种列表
|
|
|
- middlegoodscode:string//套保品种代码
|
|
|
- middlegoodsid:number//套保品种id
|
|
|
- middlegoodsname:string//套保品种名称
|
|
|
- unitid:number//单位id
|
|
|
+export 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)
|
|
|
- goodsgroupname:string//商品组名称
|
|
|
- goodunitid:number//报价单位ID
|
|
|
+export interface TBGoodsGroup {
|
|
|
+ convertratio: number//折算系数
|
|
|
+ enumdicname: string//单位名称
|
|
|
+ exexchangecode: string//交易所代码
|
|
|
+ exexchangename: string//交易所名称
|
|
|
+ GDLST: TBGoods[]//商品列表
|
|
|
+ goodsgroupid: number//商品组ID(自增ID)
|
|
|
+ goodsgroupname: string//商品组名称
|
|
|
+ goodunitid: number//报价单位ID
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*商品列表
|
|
|
*/
|
|
|
-interface TBGoods{
|
|
|
- agreeunit:number//合约乘数
|
|
|
- enumdicname:string//单位名称
|
|
|
- goodscode:string//商品代码(内部)
|
|
|
- goodsid:number//商品ID(自增ID SEQ_GOODS)
|
|
|
- goodsname:string//商品名称
|
|
|
+export interface TBGoods {
|
|
|
+ agreeunit: number//合约乘数
|
|
|
+ enumdicname: string//单位名称
|
|
|
+ goodscode: string//商品代码(内部)
|
|
|
+ goodsid: number//商品ID(自增ID SEQ_GOODS)
|
|
|
+ goodsname: string//商品名称
|
|
|
}
|