From cdbdde21488beb0cca5527c94b5321f04a915e11 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 02 七月 2024 14:43:16 +0800
Subject: [PATCH] update doc

---
 docs/docs.go |  146 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 145 insertions(+), 1 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 07fee6b..709fcde 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1033,6 +1033,58 @@
                 }
             }
         },
+        "/api-wms/v1/forms/downloadWarehouseMonthStats": {
+            "post": {
+                "produces": [
+                    "application/json"
+                ],
+                "tags": [
+                    "鎶ヨ〃"
+                ],
+                "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/getHistory": {
             "post": {
                 "produces": [
@@ -1282,7 +1334,7 @@
                                         "data": {
                                             "type": "array",
                                             "items": {
-                                                "$ref": "#/definitions/models.MonthStats"
+                                                "$ref": "#/definitions/models.WarehouseMonthStats"
                                             }
                                         }
                                     }
@@ -5260,6 +5312,14 @@
                 "auxiliaryUnit": {
                     "type": "string"
                 },
+                "baseOperationType": {
+                    "description": "鍩虹浣滀笟绫诲瀷",
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.BaseOperationType"
+                        }
+                    ]
+                },
                 "cost": {
                     "description": "鎴愭湰鍗曚环",
                     "type": "number"
@@ -5601,6 +5661,90 @@
                 }
             }
         },
+        "models.WarehouseMonthStats": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "鏈熸湯缁撲綑鏁伴噺",
+                    "type": "number"
+                },
+                "beginAmount": {
+                    "description": "鏈熷垵鏁伴噺",
+                    "type": "number"
+                },
+                "createTime": {
+                    "type": "string"
+                },
+                "date": {
+                    "description": "鏃ユ湡 2024-04",
+                    "type": "string"
+                },
+                "id": {
+                    "type": "integer"
+                },
+                "inputAmount": {
+                    "description": "鍏ュ簱鏁伴噺",
+                    "type": "number"
+                },
+                "inputItems": {
+                    "description": "鍏ュ簱鏄庣粏",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.WarehouseStatsItems"
+                    }
+                },
+                "outputAmount": {
+                    "description": "鍑哄簱鏁伴噺",
+                    "type": "number"
+                },
+                "outputItems": {
+                    "description": "鍑哄簱鏄庣粏",
+                    "type": "array",
+                    "items": {
+                        "$ref": "#/definitions/models.WarehouseStatsItems"
+                    }
+                },
+                "productId": {
+                    "description": "浜у搧id",
+                    "type": "string"
+                },
+                "productName": {
+                    "description": "浜у搧鍚嶇О",
+                    "type": "string"
+                },
+                "salePrice": {
+                    "description": "閿�鍞崟浠�",
+                    "type": "number"
+                },
+                "unit": {
+                    "description": "鍗曚綅",
+                    "type": "string"
+                },
+                "updateTime": {
+                    "type": "string"
+                },
+                "warehouseId": {
+                    "description": "浠撳簱ID",
+                    "type": "integer"
+                }
+            }
+        },
+        "models.WarehouseStatsItems": {
+            "type": "object",
+            "properties": {
+                "amount": {
+                    "description": "鏁伴噺",
+                    "type": "number"
+                },
+                "name": {
+                    "description": "鍏ュ簱鏉ユ簮锛屽嚭搴撳幓澶�",
+                    "type": "string"
+                },
+                "warehouseMonthStatsId": {
+                    "type": "integer"
+                }
+            }
+        },
         "request.AddAttribute": {
             "type": "object",
             "properties": {

--
Gitblit v1.8.0