zou.yingbin 4 年 前
コミット
b9e5fc63b7
4 ファイル変更111 行追加111 行削除
  1. 1 1
      controllers/wrTrade2/qryWrTrade.go
  2. 42 42
      docs/docs.go
  3. 42 42
      docs/swagger.json
  4. 26 26
      docs/swagger.yaml

+ 1 - 1
controllers/wrTrade2/qryWrTrade.go

@@ -302,7 +302,7 @@ func QueryWrStandardFactoryItem(c *gin.Context) {
 // @Param planid query int true "履约计划id(performanceplanid)"
 // @Success 200 {array} models.WrPerformancePlanStep
 // @Failure 500 {object} app.Response
-// @Router /WrTrade2/QueryPerformancePlanStep [get]
+// @Router /WrTrade2/QueryWrPerformancePlanStep [get]
 // @Tags 仓单贸易v2
 func QueryWrPerformancePlanStep(c *gin.Context) {
 	a := app.GinUtils{Gin: app.Gin{C: c}}

+ 42 - 42
docs/docs.go

@@ -11358,48 +11358,6 @@ var doc = `{
                 }
             }
         },
-        "/WrTrade2/QueryPerformancePlanStep": {
-            "get": {
-                "security": [
-                    {
-                        "ApiKeyAuth": []
-                    }
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "仓单贸易v2"
-                ],
-                "summary": "查询履约信息详情",
-                "parameters": [
-                    {
-                        "type": "integer",
-                        "description": "履约计划id(performanceplanid)",
-                        "name": "planid",
-                        "in": "query",
-                        "required": true
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/models.WrPerformancePlanStep"
-                            }
-                        }
-                    },
-                    "500": {
-                        "description": "Internal Server Error",
-                        "schema": {
-                            "$ref": "#/definitions/app.Response"
-                        }
-                    }
-                }
-            }
-        },
         "/WrTrade2/QueryWrFactorTypeInfo": {
             "get": {
                 "security": [
@@ -11606,6 +11564,48 @@ var doc = `{
                 }
             }
         },
+        "/WrTrade2/QueryWrPerformancePlanStep": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓单贸易v2"
+                ],
+                "summary": "查询履约信息详情",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "履约计划id(performanceplanid)",
+                        "name": "planid",
+                        "in": "query",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/models.WrPerformancePlanStep"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/WrTrade2/QueryWrPosition": {
             "get": {
                 "security": [

+ 42 - 42
docs/swagger.json

@@ -11342,48 +11342,6 @@
                 }
             }
         },
-        "/WrTrade2/QueryPerformancePlanStep": {
-            "get": {
-                "security": [
-                    {
-                        "ApiKeyAuth": []
-                    }
-                ],
-                "produces": [
-                    "application/json"
-                ],
-                "tags": [
-                    "仓单贸易v2"
-                ],
-                "summary": "查询履约信息详情",
-                "parameters": [
-                    {
-                        "type": "integer",
-                        "description": "履约计划id(performanceplanid)",
-                        "name": "planid",
-                        "in": "query",
-                        "required": true
-                    }
-                ],
-                "responses": {
-                    "200": {
-                        "description": "OK",
-                        "schema": {
-                            "type": "array",
-                            "items": {
-                                "$ref": "#/definitions/models.WrPerformancePlanStep"
-                            }
-                        }
-                    },
-                    "500": {
-                        "description": "Internal Server Error",
-                        "schema": {
-                            "$ref": "#/definitions/app.Response"
-                        }
-                    }
-                }
-            }
-        },
         "/WrTrade2/QueryWrFactorTypeInfo": {
             "get": {
                 "security": [
@@ -11590,6 +11548,48 @@
                 }
             }
         },
+        "/WrTrade2/QueryWrPerformancePlanStep": {
+            "get": {
+                "security": [
+                    {
+                        "ApiKeyAuth": []
+                    }
+                ],
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "仓单贸易v2"
+                ],
+                "summary": "查询履约信息详情",
+                "parameters": [
+                    {
+                        "type": "integer",
+                        "description": "履约计划id(performanceplanid)",
+                        "name": "planid",
+                        "in": "query",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "OK",
+                        "schema": {
+                            "type": "array",
+                            "items": {
+                                "$ref": "#/definitions/models.WrPerformancePlanStep"
+                            }
+                        }
+                    },
+                    "500": {
+                        "description": "Internal Server Error",
+                        "schema": {
+                            "$ref": "#/definitions/app.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/WrTrade2/QueryWrPosition": {
             "get": {
                 "security": [

+ 26 - 26
docs/swagger.yaml

@@ -23635,32 +23635,6 @@ paths:
       summary: 查询履约信息
       tags:
       - 仓单贸易v2
-  /WrTrade2/QueryPerformancePlanStep:
-    get:
-      parameters:
-      - description: 履约计划id(performanceplanid)
-        in: query
-        name: planid
-        required: true
-        type: integer
-      produces:
-      - application/json
-      responses:
-        "200":
-          description: OK
-          schema:
-            items:
-              $ref: '#/definitions/models.WrPerformancePlanStep'
-            type: array
-        "500":
-          description: Internal Server Error
-          schema:
-            $ref: '#/definitions/app.Response'
-      security:
-      - ApiKeyAuth: []
-      summary: 查询履约信息详情
-      tags:
-      - 仓单贸易v2
   /WrTrade2/QueryWrFactorTypeInfo:
     get:
       parameters:
@@ -23791,6 +23765,32 @@ paths:
       summary: 查询仓单委托单(挂单)
       tags:
       - 仓单贸易v2
+  /WrTrade2/QueryWrPerformancePlanStep:
+    get:
+      parameters:
+      - description: 履约计划id(performanceplanid)
+        in: query
+        name: planid
+        required: true
+        type: integer
+      produces:
+      - application/json
+      responses:
+        "200":
+          description: OK
+          schema:
+            items:
+              $ref: '#/definitions/models.WrPerformancePlanStep'
+            type: array
+        "500":
+          description: Internal Server Error
+          schema:
+            $ref: '#/definitions/app.Response'
+      security:
+      - ApiKeyAuth: []
+      summary: 查询履约信息详情
+      tags:
+      - 仓单贸易v2
   /WrTrade2/QueryWrPosition:
     get:
       description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总