From 547033793c42538123775cf862b0cff46f79d661 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 11 四月 2024 10:17:28 +0800 Subject: [PATCH] 获取位置产品信息 --- docs/docs.go | 85 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 85 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index b81598e..574cc1b 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -936,6 +936,48 @@ } } }, + "/api-wms/v1/locationProductAmount/getLocationProductAmount": { + "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.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/models.LocationProductAmount" + } + } + } + ] + } + } + } + } + }, "/api-wms/v1/locationProductAmount/getRuleList": { "post": { "produces": [ @@ -3193,6 +3235,49 @@ } } }, + "models.LocationProductAmount": { + "type": "object", + "properties": { + "amount": { + "description": "搴撳瓨鏁伴噺", + "type": "number" + }, + "createDate": { + "description": "鏃ユ湡", + "type": "string" + }, + "createTime": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "location": { + "$ref": "#/definitions/models.Location" + }, + "locationId": { + "description": "LocationProductId int ` + "`" + `json:\"locationProductId\" gorm:\"type:int;not null;comment:涓婃灦瑙勫垯id\"` + "`" + ` //涓婃灦瑙勫垯id\nLocationProduct LocationProduct ` + "`" + `json:\"locationProduct\" gorm:\"foreignKey:LocationProductId;references:Id\"` + "`" + `", + "type": "integer" + }, + "product": { + "$ref": "#/definitions/models.Material" + }, + "productCategory": { + "$ref": "#/definitions/models.ProductCategory" + }, + "productCategoryId": { + "description": "浜у搧绉嶇被id", + "type": "integer" + }, + "productId": { + "description": "浜у搧id", + "type": "string" + }, + "updateTime": { + "type": "string" + } + } + }, "models.LogisticCompany": { "type": "object", "properties": { -- Gitblit v1.8.0