From 3abb522a610fa41a8d5570b643d88a23030e56db Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 06 五月 2024 17:24:11 +0800 Subject: [PATCH] 执行月度统计前先删除本月记录,防止重复数据 --- docs/docs.go | 38 ++++++++++++++++++++++++++++++++++---- 1 files changed, 34 insertions(+), 4 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 6806e6e..7366ea9 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1091,7 +1091,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.PageInfo" + "$ref": "#/definitions/request.GetList" } } ], @@ -3794,7 +3794,7 @@ "type": "string" }, "companyID": { - "type": "integer" + "type": "string" }, "companyName": { "type": "string" @@ -3933,6 +3933,12 @@ "amount": { "description": "ProductName string ` + "`" + `json:\"productName\" gorm:\"type:varchar(255);not null;comment:浜у搧鍚嶇О\"` + "`" + ` //浜у搧鍚嶇О", "type": "number" + }, + "auxiliaryAmount": { + "type": "number" + }, + "auxiliaryUnit": { + "type": "string" }, "createTime": { "type": "string" @@ -4310,7 +4316,7 @@ }, "companyID": { "description": "鍏徃ID-瀹㈡埛", - "type": "integer" + "type": "string" }, "companyName": { "description": "鍏徃鍚嶇О-瀹㈡埛鍚嶇О", @@ -4633,6 +4639,22 @@ } } }, + "request.GetList": { + "type": "object", + "properties": { + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, "request.GetLocationForms": { "type": "object", "properties": { @@ -4807,6 +4829,14 @@ "amount": { "description": "ProductName string ` + "`" + `json:\"productName\" gorm:\"type:varchar(255);not null;comment:浜у搧鍚嶇О\"` + "`" + ` //浜у搧鍚嶇О", "type": "number" + }, + "auxiliaryAmount": { + "description": "杈呭姪鏁伴噺", + "type": "number" + }, + "auxiliaryUnit": { + "description": "杈呭姪鍗曚綅", + "type": "string" }, "fromLocationId": { "description": "Unit string ` + "`" + `json:\"unit\" gorm:\"type:varchar(31);comment:鍗曚綅\"` + "`" + ` //鍗曚綅\nProduct models.Material ` + "`" + `json:\"product\" gorm:\"foreignKey:ProductId;references:ID\"` + "`" + `", @@ -5097,7 +5127,7 @@ }, "companyID": { "description": "鍏徃ID-瀹㈡埛", - "type": "integer" + "type": "string" }, "companyName": { "description": "鍏徃鍚嶇О-瀹㈡埛鍚嶇О", -- Gitblit v1.8.0