zhou.xiaoning 3 سال پیش
والد
کامیت
fa89cc4297
4فایلهای تغییر یافته به همراه12 افزوده شده و 1 حذف شده
  1. 4 0
      docs/docs.go
  2. 4 0
      docs/swagger.json
  3. 3 0
      docs/swagger.yaml
  4. 1 1
      models/guangzuan.go

+ 4 - 0
docs/docs.go

@@ -31203,6 +31203,10 @@ const docTemplate = `{
                     "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
                     "type": "string"
                 },
+                "zscategory": {
+                    "description": "钻石分类 - 枚举”ZSCategory“",
+                    "type": "integer"
+                },
                 "zscategorydisplay": {
                     "type": "string"
                 },

+ 4 - 0
docs/swagger.json

@@ -31194,6 +31194,10 @@
                     "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
                     "type": "string"
                 },
+                "zscategory": {
+                    "description": "钻石分类 - 枚举”ZSCategory“",
+                    "type": "integer"
+                },
                 "zscategorydisplay": {
                     "type": "string"
                 },

+ 3 - 0
docs/swagger.yaml

@@ -11318,6 +11318,9 @@ definitions:
       wrtradeorderid:
         description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
         type: string
+      zscategory:
+        description: 钻石分类 - 枚举”ZSCategory“
+        type: integer
       zscategorydisplay:
         type: string
       zscerttypedisplay:

+ 1 - 1
models/guangzuan.go

@@ -2215,7 +2215,7 @@ func (r *MyFavorite) buildSql() string {
 		q.PRICEPER                  ,
 		q.WEIGHT,
 		q.WEIGHTAVG,
-		q.ZSCATEGORY
+		q.ZSCATEGORY,
 		CASE WHEN
 			q.SIZE1 IS NOT NULL AND q.SIZE2 IS NOT NULL AND q.SIZE2 IS NOT NULL THEN q.SIZE1 || '*' || q.SIZE2 || '*' || q.SIZE3
 			ELSE q.SIZE1