From 73b6baf6af3d88cdcb0e2df7932a9bd96b0b85c5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 01 七月 2024 22:32:34 +0800
Subject: [PATCH] 月度统计出入库按类型汇总报表定时任务和手动跑任务接口

---
 docs/docs.go |  188 +++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 182 insertions(+), 6 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 4d24113..07fee6b 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -773,6 +773,58 @@
                 }
             }
         },
+        "/api-wms/v1/forms/doWarehouseMonthStats": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鎶ヨ〃"
+                ],
+                "summary": "鎵嬪姩璺戞湀搴︾粺璁″簱瀛樻姤琛�",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.DoWarehouseMonthStats"
+                        }
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.MonthStats"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
         "/api-wms/v1/forms/downloadHistory": {
             "post": {
                 "produces": [
@@ -1146,6 +1198,58 @@
                     "鎶ヨ〃"
                 ],
                 "summary": "鏈堝害缁熻搴撳瓨鎶ヨ〃",
+                "parameters": [
+                    {
+                        "description": "鏌ヨ鍙傛暟",
+                        "name": "object",
+                        "in": "body",
+                        "required": true,
+                        "schema": {
+                            "$ref": "#/definitions/request.GetMonthStats"
+                        }
+                    },
+                    {
+                        "type": "string",
+                        "description": "token",
+                        "name": "Authorization",
+                        "in": "header",
+                        "required": true
+                    }
+                ],
+                "responses": {
+                    "200": {
+                        "description": "鎴愬姛",
+                        "schema": {
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.MonthStats"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
+                        }
+                    }
+                }
+            }
+        },
+        "/api-wms/v1/forms/warehouseMonthStats": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鎶ヨ〃"
+                ],
+                "summary": "浠撳簱鏈堝害缁熻搴撳瓨鎶ヨ〃",
                 "parameters": [
                     {
                         "description": "鏌ヨ鍙傛暟",
@@ -1946,7 +2050,22 @@
                     "200": {
                         "description": "鎴愬姛",
                         "schema": {
-                            "$ref": "#/definitions/util.Response"
+                            "allOf": [
+                                {
+                                    "$ref": "#/definitions/util.ResponseList"
+                                },
+                                {
+                                    "type": "object",
+                                    "properties": {
+                                        "data": {
+                                            "type": "array",
+                                            "items": {
+                                                "$ref": "#/definitions/models.Operation"
+                                            }
+                                        }
+                                    }
+                                }
+                            ]
                         }
                     }
                 }
@@ -2183,9 +2302,9 @@
                         "in": "query"
                     },
                     {
-                        "type": "integer",
+                        "type": "string",
                         "description": "浠撳簱id",
-                        "name": "warehouseId",
+                        "name": "warehouseIds",
                         "in": "query"
                     }
                 ],
@@ -3794,6 +3913,21 @@
                 "BaseOperationTypeAdjust"
             ]
         },
+        "constvar.BoolType": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "BoolTypeFalse": "false",
+                "BoolTypeTrue": "true"
+            },
+            "x-enum-varnames": [
+                "BoolTypeTrue",
+                "BoolTypeFalse"
+            ]
+        },
         "constvar.CostingMethod": {
             "type": "integer",
             "enum": [
@@ -3965,17 +4099,20 @@
             "enum": [
                 1,
                 2,
-                3
+                3,
+                4
             ],
             "x-enum-comments": {
                 "StockoutType": "鍑哄簱绫诲瀷",
                 "StorageType": "鍏ュ簱绫诲瀷",
+                "TakeStock": "鐩樼偣绫诲瀷",
                 "TransferType": "璋冩嫧绫诲瀷"
             },
             "x-enum-varnames": [
-                "TransferType",
                 "StorageType",
-                "StockoutType"
+                "StockoutType",
+                "TransferType",
+                "TakeStock"
             ]
         },
         "constvar.OperationSource": {
@@ -5094,6 +5231,9 @@
                 "updateTime": {
                     "type": "string"
                 },
+                "warehouse": {
+                    "$ref": "#/definitions/models.Warehouse"
+                },
                 "warehouseId": {
                     "type": "integer"
                 },
@@ -5125,6 +5265,10 @@
                     "type": "number"
                 },
                 "createTime": {
+                    "type": "string"
+                },
+                "dealerType": {
+                    "description": "鍑哄叆搴撶被鍨�",
                     "type": "string"
                 },
                 "fromLocation": {
@@ -5418,6 +5562,14 @@
                     "description": "浠撳簱鍚嶇О",
                     "type": "string"
                 },
+                "openMonthStats": {
+                    "description": "鏄惁寮�鍚湀搴︾粺璁�",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.BoolType"
+                        }
+                    ]
+                },
                 "outboundTransportation": {
                     "description": "鍑哄簱杩愯緭",
                     "type": "integer"
@@ -5645,6 +5797,9 @@
                     }
                 },
                 "id": {
+                    "type": "integer"
+                },
+                "inventoryDealerType": {
                     "type": "integer"
                 },
                 "locationId": {
@@ -5879,6 +6034,14 @@
                 }
             }
         },
+        "request.DoWarehouseMonthStats": {
+            "type": "object",
+            "properties": {
+                "token": {
+                    "type": "string"
+                }
+            }
+        },
         "request.EditMiniDict": {
             "type": "object",
             "properties": {
@@ -6097,6 +6260,12 @@
                 },
                 "pageSize": {
                     "description": "姣忛〉澶у皬",
+                    "type": "integer"
+                },
+                "preload": {
+                    "type": "boolean"
+                },
+                "warehouseID": {
                     "type": "integer"
                 }
             }
@@ -6665,6 +6834,9 @@
                 "id": {
                     "type": "integer"
                 },
+                "inventoryDealerType": {
+                    "type": "integer"
+                },
                 "locationId": {
                     "description": "婧愪綅缃甶d",
                     "type": "integer"
@@ -6723,6 +6895,10 @@
                     "description": "鐩爣浣嶇疆id",
                     "type": "integer"
                 },
+                "warehouseId": {
+                    "description": "浠撳簱id",
+                    "type": "integer"
+                },
                 "waybillNumber": {
                     "description": "杩愬崟鍙�",
                     "type": "string"

--
Gitblit v1.8.0