yinbentan
2024-07-06 79aef24a785581d95343ccd99e9cb362b2bc9c97
docs/docs.go
@@ -15,140 +15,6 @@
    "host": "{{.Host}}",
    "basePath": "{{.BasePath}}",
    "paths": {
        "/api-s/v1/organize/department": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "部门信息"
                ],
                "summary": "查询部门信息列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.Department"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            },
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "部门信息"
                ],
                "summary": "添加部门信息",
                "parameters": [
                    {
                        "description": "部门信息信息",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddDepartment"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-s/v1/organize/department/{id}": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "部门信息"
                ],
                "summary": "编辑部门信息",
                "parameters": [
                    {
                        "description": "部门信息信息",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateDepartment"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            },
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "部门信息"
                ],
                "summary": "编辑部门信息",
                "parameters": [
                    {
                        "description": "部门信息信息",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateDepartment"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/attachment/uploadFiles": {
            "post": {
                "tags": [
@@ -695,6 +561,166 @@
                }
            }
        },
        "/api-wms/v1/dict/add": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "数据字典"
                ],
                "summary": "添加字典信息",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddMiniDict"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/dict/delete/{id}": {
            "delete": {
                "tags": [
                    "数据字典"
                ],
                "summary": "删除字典信息",
                "parameters": [
                    {
                        "type": "string",
                        "description": "id",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/dict/edit": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "数据字典"
                ],
                "summary": "编辑字典信息",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.EditMiniDict"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/dict/getDictList": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "数据字典"
                ],
                "summary": "获取字典信息列表",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.GetMiniDictList"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.MiniDict"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-wms/v1/dict/save": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "数据字典"
                ],
                "summary": "批量更新迷你字典(会删除原数据)",
                "parameters": [
                    {
                        "description": "参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SaveMiniDict"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/forms/doMonthStats": {
            "post": {
                "produces": [
@@ -712,6 +738,58 @@
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DoMonthStats"
                        }
                    },
                    {
                        "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/doWarehouseMonthStats": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "报表"
                ],
                "summary": "手动跑月度统计库存报表",
                "parameters": [
                    {
                        "description": "查询参数",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.DoWarehouseMonthStats"
                        }
                    },
                    {
@@ -955,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": [
@@ -1153,6 +1283,58 @@
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.MonthStats"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-wms/v1/forms/warehouseMonthStats": {
            "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.WarehouseMonthStats"
                                            }
                                        }
                                    }
@@ -1665,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": "OK",
                        "schema": {
                            "$ref": "#/definitions/util.ResponseList"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/locationProductAmount/update": {
            "post": {
                "produces": [
@@ -1812,7 +2031,7 @@
                "tags": [
                    "入库/出库"
                ],
                "summary": "入库/出库列表",
                "summary": "操作详情接口",
                "parameters": [
                    {
                        "type": "string",
@@ -1820,13 +2039,32 @@
                        "name": "id",
                        "in": "path",
                        "required": true
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/models.Operation"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -1841,37 +2079,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"
                        }
                    }
                }
@@ -1920,7 +2132,22 @@
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.Operation"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
@@ -2157,9 +2384,9 @@
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "type": "string",
                        "description": "仓库id",
                        "name": "warehouseId",
                        "name": "warehouseIds",
                        "in": "query"
                    }
                ],
@@ -2252,6 +2479,140 @@
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/organize/department": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "部门信息"
                ],
                "summary": "查询部门信息列表",
                "parameters": [
                    {
                        "type": "integer",
                        "description": "页码",
                        "name": "page",
                        "in": "query"
                    },
                    {
                        "type": "integer",
                        "description": "每页大小",
                        "name": "pageSize",
                        "in": "query"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.ResponseList"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/definitions/models.Department"
                                            }
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            },
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "部门信息"
                ],
                "summary": "添加部门信息",
                "parameters": [
                    {
                        "description": "部门信息信息",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.AddDepartment"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/organize/department/{id}": {
            "put": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "部门信息"
                ],
                "summary": "编辑部门信息",
                "parameters": [
                    {
                        "description": "部门信息信息",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateDepartment"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            },
            "delete": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "部门信息"
                ],
                "summary": "编辑部门信息",
                "parameters": [
                    {
                        "description": "部门信息信息",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.UpdateDepartment"
                        }
                    }
                ],
                "responses": {
@@ -2453,6 +2814,31 @@
                        "description": "id",
                        "name": "id",
                        "in": "path",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/product/downloadInputFormat": {
            "get": {
                "tags": [
                    "产品"
                ],
                "summary": "下载导入物料/产品模板",
                "parameters": [
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
@@ -2793,9 +3179,9 @@
                    "application/xlsx"
                ],
                "tags": [
                    "物料管理"
                    "产品"
                ],
                "summary": "导入物料",
                "summary": "导入物料/产品",
                "parameters": [
                    {
                        "type": "file",
@@ -3273,6 +3659,99 @@
                }
            }
        },
        "/api-wms/v1/systemConfig/get": {
            "get": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置"
                ],
                "summary": "根据设置类型查询系统设置",
                "parameters": [
                    {
                        "enum": [
                            1
                        ],
                        "type": "integer",
                        "x-enum-comments": {
                            "SystemConfigTypeInventoryCutOffPoint": "库存结算时间点"
                        },
                        "x-enum-varnames": [
                            "SystemConfigTypeInventoryCutOffPoint"
                        ],
                        "description": "1 每月库存结算时间点",
                        "name": "configType",
                        "in": "query",
                        "required": true
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/util.Response"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/models.SystemConfig"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        },
        "/api-wms/v1/systemConfig/save": {
            "post": {
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "系统设置"
                ],
                "summary": "保存系统设置",
                "parameters": [
                    {
                        "description": "系统设置信息",
                        "name": "object",
                        "in": "body",
                        "required": true,
                        "schema": {
                            "$ref": "#/definitions/request.SystemConfig"
                        }
                    },
                    {
                        "type": "string",
                        "description": "token",
                        "name": "Authorization",
                        "in": "header",
                        "required": true
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功",
                        "schema": {
                            "$ref": "#/definitions/util.Response"
                        }
                    }
                }
            }
        },
        "/api-wms/v1/warehouse/getWarehouseDetails/{id}": {
            "get": {
                "produces": [
@@ -3541,6 +4020,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": [
@@ -3707,6 +4201,30 @@
                "MaterialModeVirtual"
            ]
        },
        "constvar.MiniDictType": {
            "type": "integer",
            "enum": [
                1,
                2,
                3,
                4,
                5
            ],
            "x-enum-comments": {
                "DisuseType": "报废类型",
                "StockoutType": "出库类型",
                "StorageType": "入库类型",
                "TakeStockType": "盘点类型",
                "TransferType": "调拨类型"
            },
            "x-enum-varnames": [
                "StorageType",
                "StockoutType",
                "TransferType",
                "TakeStockType",
                "DisuseType"
            ]
        },
        "constvar.OperationSource": {
            "type": "integer",
            "enum": [
@@ -3848,6 +4366,18 @@
                "RuleType_ProductCategory"
            ]
        },
        "constvar.SystemConfigType": {
            "type": "integer",
            "enum": [
                1
            ],
            "x-enum-comments": {
                "SystemConfigTypeInventoryCutOffPoint": "库存结算时间点"
            },
            "x-enum-varnames": [
                "SystemConfigTypeInventoryCutOffPoint"
            ]
        },
        "constvar.WhetherType": {
            "type": "integer",
            "enum": [
@@ -3875,17 +4405,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"
                }
            }
        },
@@ -4118,7 +4637,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": {
@@ -4137,6 +4656,9 @@
                },
                "updateTime": {
                    "type": "string"
                },
                "warehouseId": {
                    "type": "integer"
                }
            }
        },
@@ -4198,10 +4720,6 @@
                    "type": "integer"
                },
                "barCode": {
                    "description": "创建人",
                    "type": "string"
                },
                "barcode": {
                    "description": "条码",
                    "type": "string"
                },
@@ -4461,6 +4979,38 @@
                }
            }
        },
        "models.MiniDict": {
            "type": "object",
            "properties": {
                "code": {
                    "description": "编码",
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "isDefault": {
                    "description": "是否默认",
                    "type": "boolean"
                },
                "name": {
                    "description": "名称",
                    "type": "string"
                },
                "type": {
                    "description": "字典类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.MiniDictType"
                        }
                    ]
                },
                "value": {
                    "description": "值",
                    "type": "string"
                }
            }
        },
        "models.MonthStats": {
            "type": "object",
            "properties": {
@@ -4538,6 +5088,21 @@
                    "type": "number"
                }
            }
        },
        "models.MonthStatsItemsType": {
            "type": "integer",
            "enum": [
                1,
                2
            ],
            "x-enum-comments": {
                "MonthStatsItemsTypeInput": "入库",
                "MonthStatsItemsTypeOutput": "出库"
            },
            "x-enum-varnames": [
                "MonthStatsItemsTypeInput",
                "MonthStatsItemsTypeOutput"
            ]
        },
        "models.MoveHistory": {
            "type": "object",
@@ -4667,6 +5232,9 @@
                "custodianId": {
                    "type": "string"
                },
                "dealerType": {
                    "type": "string"
                },
                "details": {
                    "type": "array",
                    "items": {
@@ -4713,7 +5281,6 @@
                    "type": "string"
                },
                "operationDate": {
                    "description": "FromLocationID    int                      ` + "`" + `json:\"fromLocationId\"   gorm:\"type:int;not null;comment:源位置id\"` + "`" + `         //源位置id\nFromLocation      Location                 ` + "`" + `json:\"fromLocation\"     gorm:\"foreignKey:FromLocationID;references:Id\"` + "`" + ` //源位置\nToLocationID      int                      ` + "`" + `json:\"toLocationId\"    gorm:\"type:int;not null;comment:目标位置id\"` + "`" + `         //目标位置id\nToLocation        Location                 ` + "`" + `json:\"toLocation\"      gorm:\"foreignKey:ToLocationID;references:Id\"` + "`" + `    //目标位置",
                    "type": "string"
                },
                "operationSource": {
@@ -4777,6 +5344,12 @@
                "updateTime": {
                    "type": "string"
                },
                "warehouse": {
                    "$ref": "#/definitions/models.Warehouse"
                },
                "warehouseId": {
                    "type": "integer"
                },
                "waybillNumber": {
                    "description": "运单号",
                    "type": "string"
@@ -4800,11 +5373,23 @@
                "auxiliaryUnit": {
                    "type": "string"
                },
                "baseOperationType": {
                    "description": "基础作业类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.BaseOperationType"
                        }
                    ]
                },
                "cost": {
                    "description": "成本单价",
                    "type": "number"
                },
                "createTime": {
                    "type": "string"
                },
                "dealerType": {
                    "description": "出入库类型",
                    "type": "string"
                },
                "fromLocation": {
@@ -4847,6 +5432,10 @@
                },
                "salePrice": {
                    "description": "销售单价",
                    "type": "number"
                },
                "stockAmount": {
                    "description": "库存数量,盘点时用",
                    "type": "number"
                },
                "toLocation": {
@@ -4986,6 +5575,36 @@
                }
            }
        },
        "models.SystemConfig": {
            "type": "object",
            "properties": {
                "configType": {
                    "description": "每月库存结算时间点",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.SystemConfigType"
                        }
                    ]
                },
                "createTime": {
                    "type": "string"
                },
                "id": {
                    "type": "integer"
                },
                "name": {
                    "description": "设置名称",
                    "type": "string"
                },
                "updateTime": {
                    "type": "string"
                },
                "val": {
                    "description": "设置值",
                    "type": "string"
                }
            }
        },
        "models.UnitDict": {
            "type": "object",
            "properties": {
@@ -5068,6 +5687,14 @@
                    "description": "仓库名称",
                    "type": "string"
                },
                "openMonthStats": {
                    "description": "是否开启月度统计",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.BoolType"
                        }
                    ]
                },
                "outboundTransportation": {
                    "description": "出库运输",
                    "type": "integer"
@@ -5096,6 +5723,93 @@
                "warehouseLocation": {
                    "description": "库存位置",
                    "type": "string"
                }
            }
        },
        "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"
                },
                "type": {
                    "$ref": "#/definitions/models.MonthStatsItemsType"
                },
                "warehouseMonthStatsId": {
                    "type": "integer"
                }
            }
        },
@@ -5220,6 +5934,31 @@
                }
            }
        },
        "request.AddMiniDict": {
            "type": "object",
            "properties": {
                "isDefault": {
                    "description": "是否默认",
                    "type": "boolean"
                },
                "name": {
                    "description": "名称",
                    "type": "string"
                },
                "type": {
                    "description": "字典类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.MiniDictType"
                        }
                    ]
                },
                "value": {
                    "description": "值",
                    "type": "string"
                }
            }
        },
        "request.AddOperation": {
            "type": "object",
            "properties": {
@@ -5228,6 +5967,14 @@
                },
                "accountantId": {
                    "type": "string"
                },
                "baseOperationType": {
                    "description": "基础作业类型 5库存盘点",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.BaseOperationType"
                        }
                    ]
                },
                "comment": {
                    "description": "备注",
@@ -5253,6 +6000,9 @@
                    "type": "string"
                },
                "custodianId": {
                    "type": "string"
                },
                "dealerType": {
                    "type": "string"
                },
                "details": {
@@ -5320,6 +6070,10 @@
                },
                "toLocationId": {
                    "description": "目标位置id",
                    "type": "integer"
                },
                "warehouseId": {
                    "description": "仓库id",
                    "type": "integer"
                },
                "waybillNumber": {
@@ -5492,6 +6246,43 @@
                }
            }
        },
        "request.DoWarehouseMonthStats": {
            "type": "object",
            "properties": {
                "token": {
                    "type": "string"
                }
            }
        },
        "request.EditMiniDict": {
            "type": "object",
            "properties": {
                "id": {
                    "description": "字典类型",
                    "type": "integer"
                },
                "isDefault": {
                    "description": "是否默认",
                    "type": "boolean"
                },
                "name": {
                    "description": "名称",
                    "type": "string"
                },
                "type": {
                    "description": "字典类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.MiniDictType"
                        }
                    ]
                },
                "value": {
                    "description": "值",
                    "type": "string"
                }
            }
        },
        "request.FinishLocationProductAmount": {
            "type": "object",
            "properties": {
@@ -5610,6 +6401,12 @@
                "locationId": {
                    "type": "integer"
                },
                "locationIds": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "page": {
                    "description": "页码",
                    "type": "integer"
@@ -5650,6 +6447,45 @@
                },
                "type": {
                    "type": "integer"
                },
                "warehouseId": {
                    "description": "仓库ID",
                    "type": "integer"
                }
            }
        },
        "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": {
                "type": {
                    "description": "字典类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.MiniDictType"
                        }
                    ]
                }
            }
        },
@@ -5668,6 +6504,12 @@
                },
                "pageSize": {
                    "description": "每页大小",
                    "type": "integer"
                },
                "preload": {
                    "type": "boolean"
                },
                "warehouseID": {
                    "type": "integer"
                }
            }
@@ -5726,6 +6568,23 @@
                },
                "productId": {
                    "description": "产品id",
                    "type": "string"
                }
            }
        },
        "request.MiniDict": {
            "type": "object",
            "properties": {
                "isDefault": {
                    "description": "是否默认",
                    "type": "boolean"
                },
                "name": {
                    "description": "名称",
                    "type": "string"
                },
                "value": {
                    "description": "值",
                    "type": "string"
                }
            }
@@ -5815,6 +6674,10 @@
                    "description": "销售单价",
                    "type": "number"
                },
                "stockAmount": {
                    "description": "库存数量,盘点时用",
                    "type": "number"
                },
                "toLocationId": {
                    "description": "目标位置id",
                    "type": "integer"
@@ -5832,6 +6695,14 @@
        "request.OperationList": {
            "type": "object",
            "properties": {
                "baseOperationType": {
                    "description": "1 入库 2 出库 3 内部调拨 4 报废 5 库存盘点",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.BaseOperationType"
                        }
                    ]
                },
                "number": {
                    "type": "string"
                },
@@ -5915,6 +6786,25 @@
                }
            }
        },
        "request.SaveMiniDict": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/request.MiniDict"
                    }
                },
                "type": {
                    "description": "字典类型",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.MiniDictType"
                        }
                    ]
                }
            }
        },
        "request.SaveUnitDict": {
            "type": "object",
            "properties": {
@@ -5923,6 +6813,30 @@
                    "items": {
                        "$ref": "#/definitions/request.UnitDict"
                    }
                }
            }
        },
        "request.SystemConfig": {
            "type": "object",
            "properties": {
                "ID": {
                    "type": "integer"
                },
                "configType": {
                    "description": "1 每月库存结算时间点",
                    "allOf": [
                        {
                            "$ref": "#/definitions/constvar.SystemConfigType"
                        }
                    ]
                },
                "name": {
                    "description": "设置名称",
                    "type": "string"
                },
                "val": {
                    "description": "设置值",
                    "type": "string"
                }
            }
        },
@@ -6168,6 +7082,9 @@
                "id": {
                    "type": "integer"
                },
                "inventoryDealerType": {
                    "type": "integer"
                },
                "locationId": {
                    "description": "源位置id",
                    "type": "integer"
@@ -6226,6 +7143,10 @@
                    "description": "目标位置id",
                    "type": "integer"
                },
                "warehouseId": {
                    "description": "仓库id",
                    "type": "integer"
                },
                "waybillNumber": {
                    "description": "运单号",
                    "type": "string"