From 67b13bb40517145cfadc05d7b22411b16f1528d7 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 17 四月 2024 10:33:07 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- docs/docs.go | 198 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 198 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index a9b4d8d..6806e6e 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -551,6 +551,58 @@ } } }, + "/api-wms/v1/forms/monthStats": { + "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/location/addLocation": { "post": { "produces": [ @@ -3440,6 +3492,12 @@ "description": "瀹㈡埛鍓嶇疆鏃堕棿(澶�)", "type": "number" }, + "grossUnit": { + "type": "string" + }, + "grossWeight": { + "type": "number" + }, "id": { "type": "string" }, @@ -3514,9 +3572,24 @@ } ] }, + "moreUnit": { + "type": "boolean" + }, + "moreUnitList": { + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, "name": { "description": "鐗╂枡鍚嶇О", "type": "string" + }, + "netUnit": { + "type": "string" + }, + "netWeight": { + "type": "number" }, "note": { "type": "string" @@ -3612,6 +3685,84 @@ "volume": { "description": "浣撶Н", "type": "number" + }, + "weight": { + "description": "閲嶉噺", + "type": "number" + } + } + }, + "models.MonthStats": { + "type": "object", + "properties": { + "MoreUnitsArr": { + "description": "鏈熸湯鍏朵粬鍗曚綅鏁扮粍", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, + "amount": { + "description": "鏈熸湯缁撲綑鏁伴噺", + "type": "number" + }, + "beginAmount": { + "description": "鏈熷垵鏁伴噺", + "type": "number" + }, + "beginMoreUnitsArr": { + "description": "鏈熷垵鍏朵粬鍗曚綅鏁扮粍", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, + "createTime": { + "type": "string" + }, + "date": { + "description": "鏃ユ湡 2024-04", + "type": "string" + }, + "id": { + "type": "integer" + }, + "inputAmount": { + "description": "鍏ュ簱鏁伴噺", + "type": "number" + }, + "inputMoreUnitsArr": { + "description": "鍏ュ簱鍏朵粬鍗曚綅鏁扮粍", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, + "outputAmount": { + "description": "鍑哄簱鏁伴噺", + "type": "number" + }, + "outputMoreUnitsArr": { + "description": "鍑哄簱鍏朵粬鍗曚綅鏁扮粍", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, + "productId": { + "description": "浜у搧id", + "type": "string" + }, + "productName": { + "description": "浜у搧鍚嶇О", + "type": "string" + }, + "unit": { + "description": "鍗曚綅", + "type": "string" + }, + "updateTime": { + "type": "string" }, "weight": { "description": "閲嶉噺", @@ -3829,6 +3980,12 @@ "description": "鐩爣浣嶇疆id", "type": "integer" }, + "totalGrossWeight": { + "type": "number" + }, + "totalNetWeight": { + "type": "number" + }, "updateTime": { "type": "string" } @@ -3958,6 +4115,20 @@ "type": "boolean" }, "name": { + "type": "string" + } + } + }, + "models.UnitItems": { + "type": "object", + "properties": { + "amount": { + "type": "number" + }, + "floating": { + "type": "boolean" + }, + "unit": { "type": "string" } } @@ -4514,6 +4685,25 @@ } } }, + "request.GetMonthStats": { + "type": "object", + "properties": { + "date": { + "type": "string" + }, + "keyword": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + } + } + }, "request.GetProductList": { "type": "object", "properties": { @@ -4629,6 +4819,14 @@ "toLocationId": { "description": "鐩爣浣嶇疆id", "type": "integer" + }, + "totalGrossWeight": { + "description": "鎬绘瘺閲�", + "type": "number" + }, + "totalNetWeight": { + "description": "鎬诲噣閲�", + "type": "number" } } }, -- Gitblit v1.8.0