Pārlūkot izejas kodu

更改subjectid为int64

zou.yingbin 4 gadi atpakaļ
vecāks
revīzija
c4cb483feb
4 mainītis faili ar 8 papildinājumiem un 8 dzēšanām
  1. 2 2
      docs/docs.go
  2. 2 2
      docs/swagger.json
  3. 2 2
      docs/swagger.yaml
  4. 2 2
      models/ermcp3.go

+ 2 - 2
docs/docs.go

@@ -20419,7 +20419,7 @@ var doc = `{
                 },
                 "subjectid": {
                     "description": "交易主体ID",
-                    "type": "string"
+                    "type": "integer"
                 },
                 "subjectname": {
                     "description": "交易主体名称",
@@ -22773,7 +22773,7 @@ var doc = `{
                 },
                 "subjectid": {
                     "description": "交易主体ID",
-                    "type": "string"
+                    "type": "integer"
                 },
                 "subjectname": {
                     "description": "交易主体名称",

+ 2 - 2
docs/swagger.json

@@ -20403,7 +20403,7 @@
                 },
                 "subjectid": {
                     "description": "交易主体ID",
-                    "type": "string"
+                    "type": "integer"
                 },
                 "subjectname": {
                     "description": "交易主体名称",
@@ -22757,7 +22757,7 @@
                 },
                 "subjectid": {
                     "description": "交易主体ID",
-                    "type": "string"
+                    "type": "integer"
                 },
                 "subjectname": {
                     "description": "交易主体名称",

+ 2 - 2
docs/swagger.yaml

@@ -4740,7 +4740,7 @@ definitions:
         type: string
       subjectid:
         description: 交易主体ID
-        type: string
+        type: integer
       subjectname:
         description: 交易主体名称
         type: string
@@ -6491,7 +6491,7 @@ definitions:
         type: string
       subjectid:
         description: 交易主体ID
-        type: string
+        type: integer
       subjectname:
         description: 交易主体名称
         type: string

+ 2 - 2
models/ermcp3.go

@@ -646,7 +646,7 @@ type Ermcp3Contract struct {
 	ACCOUNTID         string  `json:"accountid"  xorm:"'ACCOUNTID'"`                                 // 期货账户id
 	BIZTYPE           int32   `json:"biztype"  xorm:"'BIZTYPE'"`                                     // 业务类型 1-套保 2-套利
 	CURRENCYID        int32   `json:"currencyid"  xorm:"'CURRENCYID'"`                               // 币种id
-	SUBJECTID         string  `json:"subjectid"  xorm:"'SUBJECTID'"`                                 // 交易主体ID
+	SUBJECTID         int64   `json:"subjectid"  xorm:"'SUBJECTID'"`                                 // 交易主体ID
 	SUBJECTNAME       string  `json:"subjectname"  xorm:"'SUBJECTNAME'"`                             // 交易主体名称
 	VATRATE           float64 `json:"vatrate"  xorm:"'VATRATE'"`                                     // 增值税率
 
@@ -866,7 +866,7 @@ type Ermcp3SellBuyContract struct {
 	ACCOUNTID          string  `json:"accountid"  xorm:"'ACCOUNTID'"`                   // 期货账户id
 	BIZTYPE            int32   `json:"biztype"  xorm:"'BIZTYPE'"`                       // 业务类型 1-套保 2-套利
 	CURRENCYID         int32   `json:"currencyid"  xorm:"'CURRENCYID'"`                 // 币种id
-	SUBJECTID          string  `json:"subjectid"  xorm:"'SUBJECTID'"`                   // 交易主体ID
+	SUBJECTID          int64   `json:"subjectid"  xorm:"'SUBJECTID'"`                   // 交易主体ID
 	SUBJECTNAME        string  `json:"subjectname"  xorm:"'SUBJECTNAME'"`               // 交易主体名称
 	VATRATE            float64 `json:"vatrate"  xorm:"'VATRATE'"`                       // 增值税率