From 422f93b6f1004c8d7abb9e41b44c5a723bc8b279 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 27 九月 2023 20:13:38 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- docs/docs.go | 140 ++++++++++++++++++---------------------------- 1 files changed, 55 insertions(+), 85 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 3c6f0ad..4f78bf4 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -750,51 +750,6 @@ } } }, - "/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": [ @@ -812,6 +767,36 @@ "required": true, "schema": { "$ref": "#/definitions/request.PageInfo" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/locationProductAmount/update": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "搴撳瓨鐩樼偣" + ], + "summary": "淇敼搴撳瓨鐩樼偣淇℃伅", + "parameters": [ + { + "description": "鍏ュ簱/鍑哄簱淇℃伅", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.UpdateLocationProductAmount" } } ], @@ -3039,19 +3024,6 @@ } } }, - "request.GetRuleList": { - "type": "object", - "properties": { - "locationId": { - "description": "浣嶇疆id", - "type": "integer" - }, - "productId": { - "description": "浜у搧id", - "type": "string" - } - } - }, "request.OperationAllList": { "type": "object", "properties": { @@ -3104,9 +3076,6 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" - }, - "sourceNumber": { - "type": "string" } } }, @@ -3136,9 +3105,6 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" - }, - "sourceNumber": { - "type": "string" } } }, @@ -3264,6 +3230,31 @@ }, "productCategoryId": { "description": "浜у搧绉嶇被id", + "type": "integer" + }, + "productId": { + "description": "浜у搧id", + "type": "string" + } + } + }, + "request.UpdateLocationProductAmount": { + "type": "object", + "properties": { + "Amount": { + "description": "搴撳瓨鏁伴噺", + "type": "number" + }, + "adjustAmount": { + "description": "LocationProductAmountId int ` + "`" + `json:\"locationProductAmountId\"` + "`" + ` //搴撳瓨鐩樼偣id", + "type": "number" + }, + "differenceAmount": { + "description": "璁℃暟鏁伴噺", + "type": "number" + }, + "operationId": { + "description": "鍑哄叆搴搃d", "type": "integer" }, "productId": { @@ -3541,25 +3532,6 @@ } } }, - "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": { @@ -3606,8 +3578,6 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, - LeftDelim: "{{", - RightDelim: "}}", } func init() { -- Gitblit v1.8.0