From 84bbcba12066eed95324ee3293dcbdfc7bed22d8 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 16 十一月 2023 13:42:07 +0800 Subject: [PATCH] 多余代码删除 --- controllers/report_forms_controller.go | 11 ----------- docs/swagger.yaml | 9 +++++++++ docs/docs.go | 13 +++++++++++++ docs/swagger.json | 13 +++++++++++++ 4 files changed, 35 insertions(+), 11 deletions(-) diff --git a/controllers/report_forms_controller.go b/controllers/report_forms_controller.go index 334b227..a15025a 100644 --- a/controllers/report_forms_controller.go +++ b/controllers/report_forms_controller.go @@ -218,17 +218,6 @@ util.ResponseFormatList(c, code.Success, result, int(total)) } -// GetOutOrInOperationList -// @Tags 鎶ヨ〃 -// @Summary 鑾峰彇鍑哄叆搴撴搷浣滄槑缁� -// @Produce application/json -// @Param object body request.GetLocationForms true "鏌ヨ鍙傛暟" -// @Success 200 {object} util.ResponseList{data=[]response.LocationForms} "鎴愬姛" -// @Router /api-wms/v1/forms/getOutOrInOperationList [post] -func (slf ReportFormsController) GetOutOrInOperationList(c *gin.Context) { - -} - // GetLocationForms // @Tags 鎶ヨ〃 // @Summary 鑾峰彇浣嶇疆鎶ヨ〃 diff --git a/docs/docs.go b/docs/docs.go index b18d3bc..fba7780 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -4519,8 +4519,14 @@ "description": "婧愪綅缃�", "type": "string" }, + "fromLocationId": { + "type": "integer" + }, "number": { "description": "鍗曞彿", + "type": "string" + }, + "productId": { "type": "string" }, "productName": { @@ -4535,9 +4541,16 @@ "description": "鐩爣浣嶇疆", "type": "string" }, + "toLocationId": { + "type": "integer" + }, "unit": { "description": "鍗曚綅", "type": "string" + }, + "weight": { + "description": "閲嶉噺", + "type": "number" } } }, diff --git a/docs/swagger.json b/docs/swagger.json index bfa1ebf..cfb93c0 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -4507,8 +4507,14 @@ "description": "婧愪綅缃�", "type": "string" }, + "fromLocationId": { + "type": "integer" + }, "number": { "description": "鍗曞彿", + "type": "string" + }, + "productId": { "type": "string" }, "productName": { @@ -4523,9 +4529,16 @@ "description": "鐩爣浣嶇疆", "type": "string" }, + "toLocationId": { + "type": "integer" + }, "unit": { "description": "鍗曚綅", "type": "string" + }, + "weight": { + "description": "閲嶉噺", + "type": "number" } } }, diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 0072923..653c219 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1490,8 +1490,12 @@ fromLocation: description: 婧愪綅缃� type: string + fromLocationId: + type: integer number: description: 鍗曞彿 + type: string + productId: type: string productName: description: 浜у搧鍚嶇О @@ -1502,9 +1506,14 @@ toLocation: description: 鐩爣浣嶇疆 type: string + toLocationId: + type: integer unit: description: 鍗曚綅 type: string + weight: + description: 閲嶉噺 + type: number type: object response.LocationForms: properties: -- Gitblit v1.8.0