From 2716487d13f3521adeb25a48aa07a89f885d32c7 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期一, 09 十月 2023 09:36:08 +0800 Subject: [PATCH] 仓库功能修改 --- docs/docs.go | 150 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 138 insertions(+), 12 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 4f78bf4..d00b1a0 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -750,6 +750,81 @@ } } }, + "/api-wms/v1/locationProductAmount/finish": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "搴撳瓨鐩樼偣" + ], + "summary": "搴旂敤銆侀獙璇�", + "parameters": [ + { + "description": "鍏ュ弬", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.FinishLocationProductAmount" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/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": [ @@ -2956,6 +3031,23 @@ } } }, + "request.FinishLocationProductAmount": { + "type": "object", + "properties": { + "locationProductAmountId": { + "description": "搴撳瓨鐩樼偣id", + "type": "integer" + }, + "operationId": { + "description": "鍑哄叆搴搃d", + "type": "integer" + }, + "productId": { + "description": "浜у搧id", + "type": "string" + } + } + }, "request.GetInventoryForms": { "type": "object", "properties": { @@ -3021,6 +3113,19 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + } + } + }, + "request.GetRuleList": { + "type": "object", + "properties": { + "locationId": { + "description": "浣嶇疆id", + "type": "integer" + }, + "productId": { + "description": "浜у搧id", + "type": "string" } } }, @@ -3241,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": { @@ -3465,14 +3570,6 @@ "description": "鏁伴噺", "type": "number" }, - "baseOperationType": { - "description": "鍩虹浣滀笟绫诲瀷", - "allOf": [ - { - "$ref": "#/definitions/constvar.BaseOperationType" - } - ] - }, "contactedName": { "description": "瀹屾垚鑰�", "type": "string" @@ -3487,6 +3584,14 @@ }, "number": { "description": "鍗曞彿", + "type": "string" + }, + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "status": { + "description": "鐘舵��", "type": "string" }, "toLocation": { @@ -3529,6 +3634,25 @@ "value": { "description": "鎬讳环鍊�", "type": "number" + } + } + }, + "response.RuleList": { + "type": "object", + "properties": { + "locationList": { + "description": "浣嶇疆鍒楄〃", + "type": "array", + "items": { + "$ref": "#/definitions/models.Location" + } + }, + "productList": { + "description": "浜у搧鍒楄〃", + "type": "array", + "items": { + "$ref": "#/definitions/models.Material" + } } } }, @@ -3578,6 +3702,8 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", } func init() { -- Gitblit v1.8.0