Browse Source

更新swag

zou.yingbin 4 năm trước cách đây
mục cha
commit
0e81140e9f
4 tập tin đã thay đổi với 27 bổ sung27 xóa
  1. 7 7
      docs/docs.go
  2. 7 7
      docs/swagger.json
  3. 7 7
      docs/swagger.yaml
  4. 6 6
      models/ermcp3Report.go

+ 7 - 7
docs/docs.go

@@ -16083,7 +16083,7 @@ var doc = `{
                     "description": "商品名称",
                     "type": "string"
                 },
-                "invoiceAmount": {
+                "invoiceamount": {
                     "description": "已开收票金额(销售为开票,采购为收票)",
                     "type": "number"
                 },
@@ -20652,15 +20652,15 @@ var doc = `{
                     "type": "number"
                 },
                 "deliverygoodscode": {
-                    "description": "现货品代码",
+                    "description": "现货品代码",
                     "type": "string"
                 },
                 "deliverygoodsid": {
-                    "description": "现货品id",
+                    "description": "现货品id",
                     "type": "integer"
                 },
                 "deliverygoodsname": {
-                    "description": "现货品名称",
+                    "description": "现货品名称",
                     "type": "string"
                 },
                 "diffhedgeqty": {
@@ -20744,15 +20744,15 @@ var doc = `{
                     "type": "string"
                 },
                 "wrstandardcode": {
-                    "description": "品代码",
+                    "description": "现货商品代码",
                     "type": "string"
                 },
                 "wrstandardid": {
-                    "description": "品id",
+                    "description": "现货商品id",
                     "type": "integer"
                 },
                 "wrstandardname": {
-                    "description": "品名称",
+                    "description": "现货商品名称",
                     "type": "string"
                 }
             }

+ 7 - 7
docs/swagger.json

@@ -16067,7 +16067,7 @@
                     "description": "商品名称",
                     "type": "string"
                 },
-                "invoiceAmount": {
+                "invoiceamount": {
                     "description": "已开收票金额(销售为开票,采购为收票)",
                     "type": "number"
                 },
@@ -20636,15 +20636,15 @@
                     "type": "number"
                 },
                 "deliverygoodscode": {
-                    "description": "现货品代码",
+                    "description": "现货品代码",
                     "type": "string"
                 },
                 "deliverygoodsid": {
-                    "description": "现货品id",
+                    "description": "现货品id",
                     "type": "integer"
                 },
                 "deliverygoodsname": {
-                    "description": "现货品名称",
+                    "description": "现货品名称",
                     "type": "string"
                 },
                 "diffhedgeqty": {
@@ -20728,15 +20728,15 @@
                     "type": "string"
                 },
                 "wrstandardcode": {
-                    "description": "品代码",
+                    "description": "现货商品代码",
                     "type": "string"
                 },
                 "wrstandardid": {
-                    "description": "品id",
+                    "description": "现货商品id",
                     "type": "integer"
                 },
                 "wrstandardname": {
-                    "description": "品名称",
+                    "description": "现货商品名称",
                     "type": "string"
                 }
             }

+ 7 - 7
docs/swagger.yaml

@@ -1422,7 +1422,7 @@ definitions:
       goodsname:
         description: 商品名称
         type: string
-      invoiceAmount:
+      invoiceamount:
         description: 已开收票金额(销售为开票,采购为收票)
         type: number
       operateapplyid:
@@ -4811,13 +4811,13 @@ definitions:
         description: 今定价量
         type: number
       deliverygoodscode:
-        description: 现货品代码
+        description: 现货品代码
         type: string
       deliverygoodsid:
-        description: 现货品id
+        description: 现货品id
         type: integer
       deliverygoodsname:
-        description: 现货品名称
+        description: 现货品名称
         type: string
       diffhedgeqty:
         description: 套保变动量
@@ -4880,13 +4880,13 @@ definitions:
         description: 交易用户
         type: string
       wrstandardcode:
-        description: 品代码
+        description: 现货商品代码
         type: string
       wrstandardid:
-        description: 品id
+        description: 现货商品id
         type: integer
       wrstandardname:
-        description: 品名称
+        description: 现货商品名称
         type: string
     type: object
   models.Ermcp3ExposureDetail:

+ 6 - 6
models/ermcp3Report.go

@@ -647,7 +647,7 @@ func (r *Ermcp3ExpourseReport) GetDataEx() (interface{}, error) {
 // Ermcp3ExposureContractDetail 敞口合同明细
 type Ermcp3ExposureContractDetail struct {
 	MIDDLEGOODSID      int32   `json:"middlegoodsid"  xorm:"'MIDDLEGOODSID'"`           // 套保品种id
-	DELIVERYGOODSID    int32   `json:"deliverygoodsid"  xorm:"'DELIVERYGOODSID'"`       // 现货品id
+	DELIVERYGOODSID    int32   `json:"deliverygoodsid"  xorm:"'DELIVERYGOODSID'"`       // 现货品id
 	CONVERTRATIO       float64 `json:"convertratio"  xorm:"'CONVERTRATIO'"`             // 折算系数(套保品种)
 	USERID             int64   `json:"userid"  xorm:"'USERID'"`                         // 机构id
 	SPOTCONTRACTID     string  `json:"spotcontractid"  xorm:"'SPOTCONTRACTID'"`         // 合同id
@@ -658,9 +658,9 @@ type Ermcp3ExposureContractDetail struct {
 	SELLUSERID         int64   `json:"selluserid"  xorm:"'SELLUSERID'"`                 // 销售方id
 	QTY                float64 `json:"qty"  xorm:"'QTY'"`                               // 合同量
 	PRICEDQTY          float64 `json:"pricedqty"  xorm:"'PRICEDQTY'"`                   // 已定价量
-	WRSTANDARDID       int32   `json:"wrstandardid"  xorm:"'WRSTANDARDID'"`             // 品id
-	WRSTANDARDNAME     string  `json:"wrstandardname"  xorm:"'WRSTANDARDNAME'"`         // 品名称
-	WRSTANDARDCODE     string  `json:"wrstandardcode"  xorm:"'WRSTANDARDCODE'"`         // 品代码
+	WRSTANDARDID       int32   `json:"wrstandardid"  xorm:"'WRSTANDARDID'"`             // 现货商品id
+	WRSTANDARDNAME     string  `json:"wrstandardname"  xorm:"'WRSTANDARDNAME'"`         // 现货商品名称
+	WRSTANDARDCODE     string  `json:"wrstandardcode"  xorm:"'WRSTANDARDCODE'"`         // 现货商品代码
 	UNITID             int32   `json:"unitid"  xorm:"'UNITID'"`                         // 品类单位id
 	MIDDLEGOODSNAME    string  `json:"middlegoodsname"  xorm:"'MIDDLEGOODSNAME'"`       // 套保品种名称
 	MIDDLEGOODSCODE    string  `json:"middlegoodscode"  xorm:"'MIDDLEGOODSCODE'"`       // 套保品种代码
@@ -669,8 +669,8 @@ type Ermcp3ExposureContractDetail struct {
 	NEEDHEDGERATIO     float64 `json:"needhedgeratio"  xorm:"'NEEDHEDGERATIO'"`         // 应套保比例
 	NEEDARBITRAGERATIO float64 `json:"needarbitrageratio"  xorm:"'NEEDARBITRAGERATIO'"` // 应套利比例
 	BRANDNAME          string  `json:"brandname"  xorm:"'BRANDNAME'"`                   // 品牌名称
-	DELIVERYGOODSCODE  string  `json:"deliverygoodscode"  xorm:"'DELIVERYGOODSCODE'"`   // 现货品代码
-	DELIVERYGOODSNAME  string  `json:"deliverygoodsname"  xorm:"'DELIVERYGOODSNAME'"`   // 现货品名称
+	DELIVERYGOODSCODE  string  `json:"deliverygoodscode"  xorm:"'DELIVERYGOODSCODE'"`   // 现货品代码
+	DELIVERYGOODSNAME  string  `json:"deliverygoodsname"  xorm:"'DELIVERYGOODSNAME'"`   // 现货品名称
 	CONVERTFACTOR      float64 `json:"convertfactor"  xorm:"'CONVERTFACTOR'"`           // 标仓系数
 	TODAYPRICEDQTY     float64 `json:"todaypricedqty"  xorm:"'TODAYPRICEDQTY'"`         // 今定价量