From f81a89a88ed18ae924191e1f00e51c0e7b9f4598 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期三, 18 十月 2023 09:55:05 +0800 Subject: [PATCH] 1.报废列表倒序排列 --- docs/docs.go | 85 ++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 81 insertions(+), 4 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index ce8cdb9..1fdd00a 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -780,6 +780,51 @@ } } }, + "/api-wms/v1/locationProductAmount/getRuleList": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "搴撳瓨鐩樼偣" + ], + "summary": "鑾峰彇涓婃灦瑙勫垯", + "parameters": [ + { + "description": "鏌ヨ淇℃伅", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetRuleList" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/response.RuleList" + } + } + } + } + ] + } + } + } + } + }, "/api-wms/v1/locationProductAmount/list": { "post": { "produces": [ @@ -3071,6 +3116,19 @@ } } }, + "request.GetRuleList": { + "type": "object", + "properties": { + "locationId": { + "description": "浣嶇疆id", + "type": "integer" + }, + "productId": { + "description": "浜у搧id", + "type": "string" + } + } + }, "request.OperationAllList": { "type": "object", "properties": { @@ -3288,12 +3346,12 @@ "request.UpdateLocationProductAmount": { "type": "object", "properties": { - "Amount": { - "description": "搴撳瓨鏁伴噺", - "type": "number" - }, "adjustAmount": { "description": "LocationProductAmountId int ` + "`" + `json:\"locationProductAmountId\"` + "`" + ` //搴撳瓨鐩樼偣id", + "type": "number" + }, + "amount": { + "description": "搴撳瓨鏁伴噺", "type": "number" }, "differenceAmount": { @@ -3579,6 +3637,25 @@ } } }, + "response.RuleList": { + "type": "object", + "properties": { + "locationList": { + "description": "浣嶇疆鍒楄〃", + "type": "array", + "items": { + "$ref": "#/definitions/models.Location" + } + }, + "productList": { + "description": "浜у搧鍒楄〃", + "type": "array", + "items": { + "$ref": "#/definitions/models.Material" + } + } + } + }, "util.Response": { "type": "object", "properties": { -- Gitblit v1.8.0