From c950586b718ae6fc198bedf424609a4ac94cb5d1 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 04 七月 2024 18:16:07 +0800
Subject: [PATCH] 增加根据位置或仓库查询产品及库存列表

---
 docs/docs.go |   64 +++++++++++++++++++++++++++++++
 1 files changed, 63 insertions(+), 1 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 597d1c7..711fe86 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1847,6 +1847,43 @@
                 }
             }
         },
+        "/api-wms/v1/locationProductAmount/locationProductList": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "搴撳瓨鐩樼偣"
+                ],
+                "summary": "鑾峰彇浣嶇疆瀵瑰簲浜у搧鍒楄〃",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetLocationProductList"
+                        }
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api-wms/v1/locationProductAmount/update": {
             "post": {
                 "produces": [
@@ -4581,7 +4618,7 @@
                     "$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\"` + "`" + `",
+                    "description": "浣嶇疆id",
                     "type": "integer"
                 },
                 "product": {
@@ -4600,6 +4637,9 @@
                 },
                 "updateTime": {
                     "type": "string"
+                },
+                "warehouseId": {
+                    "type": "integer"
                 }
             }
         },
@@ -6395,6 +6435,28 @@
                 }
             }
         },
+        "request.GetLocationProductList": {
+            "type": "object",
+            "properties": {
+                "keyword": {
+                    "type": "string"
+                },
+                "locationId": {
+                    "type": "integer"
+                },
+                "page": {
+                    "description": "椤电爜",
+                    "type": "integer"
+                },
+                "pageSize": {
+                    "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "warehouseId": {
+                    "type": "integer"
+                }
+            }
+        },
         "request.GetMiniDictList": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0