From a2cfbd59045d7426088e9ec9e93794dc895849a9 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 03 七月 2024 23:13:40 +0800
Subject: [PATCH] 获取位置列表增加仓库ID传参,默认位置去掉仓库code拼接, 修复若干bug

---
 docs/docs.go |  105 +++++++++++++++++++++++++++++++---------------------
 1 files changed, 62 insertions(+), 43 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 709fcde..597d1c7 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -2023,37 +2023,11 @@
                     "鍏ュ簱/鍑哄簱"
                 ],
                 "summary": "鑾峰彇浜哄憳鍒楄〃",
-                "parameters": [
-                    {
-                        "description": "鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.OperationCondition"
-                        }
-                    }
-                ],
                 "responses": {
                     "200": {
                         "description": "鎴愬姛",
                         "schema": {
-                            "allOf": [
-                                {
-                                    "$ref": "#/definitions/util.ResponseList"
-                                },
-                                {
-                                    "type": "object",
-                                    "properties": {
-                                        "data": {
-                                            "type": "array",
-                                            "items": {
-                                                "$ref": "#/definitions/inventory_order.WorkerInfo"
-                                            }
-                                        }
-                                    }
-                                }
-                            ]
+                            "$ref": "#/definitions/util.Response"
                         }
                     }
                 }
@@ -2797,6 +2771,31 @@
                 }
             }
         },
+        "/api-wms/v1/product/downloadInputFormat": {
+            "get": {
+                "tags": [
+                    "浜у搧"
+                ],
+                "summary": "涓嬭浇瀵煎叆鐗╂枡/浜у搧妯℃澘",
+                "parameters": [
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "$ref": "#/definitions/util.Response"
+                        }
+                    }
+                }
+            }
+        },
         "/api-wms/v1/product/finishDisuse/{id}": {
             "put": {
                 "produces": [
@@ -3124,9 +3123,9 @@
                     "application/xlsx"
                 ],
                 "tags": [
-                    "鐗╂枡绠$悊"
+                    "浜у搧"
                 ],
-                "summary": "瀵煎叆鐗╂枡",
+                "summary": "瀵煎叆鐗╂枡/浜у搧",
                 "parameters": [
                     {
                         "type": "file",
@@ -4152,19 +4151,22 @@
                 1,
                 2,
                 3,
-                4
+                4,
+                5
             ],
             "x-enum-comments": {
+                "DisuseType": "鎶ュ簾绫诲瀷",
                 "StockoutType": "鍑哄簱绫诲瀷",
                 "StorageType": "鍏ュ簱绫诲瀷",
-                "TakeStock": "鐩樼偣绫诲瀷",
+                "TakeStockType": "鐩樼偣绫诲瀷",
                 "TransferType": "璋冩嫧绫诲瀷"
             },
             "x-enum-varnames": [
                 "StorageType",
                 "StockoutType",
                 "TransferType",
-                "TakeStock"
+                "TakeStockType",
+                "DisuseType"
             ]
         },
         "constvar.OperationSource": {
@@ -4347,17 +4349,6 @@
                 "valid": {
                     "description": "Valid is true if Time is not NULL",
                     "type": "boolean"
-                }
-            }
-        },
-        "inventory_order.WorkerInfo": {
-            "type": "object",
-            "properties": {
-                "id": {
-                    "type": "string"
-                },
-                "name": {
-                    "type": "string"
                 }
             }
         },
@@ -5038,6 +5029,21 @@
                     "type": "number"
                 }
             }
+        },
+        "models.MonthStatsItemsType": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "MonthStatsItemsTypeInput": "鍏ュ簱",
+                "MonthStatsItemsTypeOutput": "鍑哄簱"
+            },
+            "x-enum-varnames": [
+                "MonthStatsItemsTypeInput",
+                "MonthStatsItemsTypeOutput"
+            ]
         },
         "models.MoveHistory": {
             "type": "object",
@@ -5740,6 +5746,9 @@
                     "description": "鍏ュ簱鏉ユ簮锛屽嚭搴撳幓澶�",
                     "type": "string"
                 },
+                "type": {
+                    "$ref": "#/definitions/models.MonthStatsItemsType"
+                },
                 "warehouseMonthStatsId": {
                     "type": "integer"
                 }
@@ -6333,6 +6342,12 @@
                 "locationId": {
                     "type": "integer"
                 },
+                "locationIds": {
+                    "type": "array",
+                    "items": {
+                        "type": "integer"
+                    }
+                },
                 "page": {
                     "description": "椤电爜",
                     "type": "integer"
@@ -6373,6 +6388,10 @@
                 },
                 "type": {
                     "type": "integer"
+                },
+                "warehouseId": {
+                    "description": "浠撳簱ID",
+                    "type": "integer"
                 }
             }
         },

--
Gitblit v1.8.0