From 313617ceb05dd5194d2091c717a25cbf33ef39b9 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 24 十一月 2023 14:39:25 +0800 Subject: [PATCH] 新增history加入索引 --- docs/docs.go | 137 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 135 insertions(+), 2 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 76ee786..477c6e3 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1249,6 +1249,34 @@ } } }, + "/api-wms/v1/operation/outputOperation/{id}": { + "put": { + "produces": [ + "application/json" + ], + "tags": [ + "鍏ュ簱/鍑哄簱" + ], + "summary": "鎵撳嵃", + "parameters": [ + { + "type": "integer", + "description": "id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/operation/update": { "post": { "produces": [ @@ -2167,6 +2195,36 @@ } } }, + "/api-wms/v1/reorderRule/submitOrder": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閲嶈璐ц鍒�" + ], + "summary": "鍐嶈涓�娆�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ReorderRule" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/reorderRule/updateReorderRule": { "post": { "produces": [ @@ -3002,6 +3060,9 @@ "description": "HSCode string ` + "`" + `gorm:\"type:varchar(255);comment:HS缂栫爜\" json:\"HSCode\"` + "`" + ` //HS缂栫爜\nOriginCountryId int ` + "`" + `gorm:\"type:int(11);comment:鍘熶骇鍦癷d\" json:\"originCountryId\"` + "`" + ` //鍘熶骇鍦癷d\nOriginCountryName string ` + "`" + `gorm:\"type:varchar(255);comment:鍘熶骇鍦板悕绉癨" json:\"originCountryName\"` + "`" + ` //鍘熶骇鍦板悕绉�", "type": "string" }, + "inputAmount": { + "type": "number" + }, "internalNotes": { "description": "鍐呴儴璇存槑", "type": "string" @@ -3034,7 +3095,15 @@ "description": "鏈�澶у簱瀛�", "type": "number" }, + "maxInventoryRule": { + "description": "鏈�澶у簱瀛�", + "type": "number" + }, "minInventory": { + "description": "鏈�灏忓簱瀛�", + "type": "number" + }, + "minInventoryRule": { "description": "鏈�灏忓簱瀛�", "type": "number" }, @@ -3073,6 +3142,12 @@ "description": "鍑哄簱璇存槑", "type": "string" }, + "outputAmount": { + "type": "number" + }, + "predictionAmount": { + "type": "number" + }, "principal": { "description": "璐熻矗浜�", "type": "string" @@ -3099,6 +3174,9 @@ }, "purchaseType": { "$ref": "#/definitions/constvar.PurchaseType" + }, + "reorderRuleNum": { + "type": "integer" }, "salePrice": { "description": "閿�鍞崟浠�", @@ -3143,6 +3221,9 @@ "models.Operation": { "type": "object", "properties": { + "auditDate": { + "type": "string" + }, "baseOperationType": { "description": "鍩虹浣滀笟绫诲瀷", "allOf": [ @@ -3213,6 +3294,15 @@ }, "operationTypeName": { "description": "浣滀笟绫诲瀷鍚嶇О", + "type": "string" + }, + "receiverAddr": { + "type": "string" + }, + "receiverName": { + "type": "string" + }, + "receiverPhone": { "type": "string" }, "sourceNumber": { @@ -3297,6 +3387,9 @@ } ] }, + "createTime": { + "type": "string" + }, "forceRemovalStrategy": { "description": "寮哄埗涓嬫灦绛栫暐", "allOf": [ @@ -3330,6 +3423,9 @@ }, "routeName": { "description": "鍏徃", + "type": "string" + }, + "updateTime": { "type": "string" } } @@ -3380,6 +3476,10 @@ "route": { "description": "璺嚎", "type": "string" + }, + "supplierId": { + "description": "渚涘簲鍟唅d", + "type": "integer" }, "unit": { "description": "鍗曚綅", @@ -3606,6 +3706,15 @@ }, "operationTypeName": { "description": "浣滀笟绫诲瀷鍚嶇О", + "type": "string" + }, + "receiverAddr": { + "type": "string" + }, + "receiverName": { + "type": "string" + }, + "receiverPhone": { "type": "string" }, "sourceNumber": { @@ -3884,6 +3993,10 @@ "request.GetLocationList": { "type": "object", "properties": { + "isScrapLocation": { + "description": "鏄惁鎶ュ簾", + "type": "boolean" + }, "jointName": { "description": "鎷兼帴鍚嶇О", "type": "string" @@ -4287,6 +4400,15 @@ "description": "浣滀笟绫诲瀷鍚嶇О", "type": "string" }, + "receiverAddr": { + "type": "string" + }, + "receiverName": { + "type": "string" + }, + "receiverPhone": { + "type": "string" + }, "sourceNumber": { "description": "婧愬崟鍙�", "type": "string" @@ -4461,8 +4583,14 @@ "description": "婧愪綅缃�", "type": "string" }, + "fromLocationId": { + "type": "integer" + }, "number": { "description": "鍗曞彿", + "type": "string" + }, + "productId": { "type": "string" }, "productName": { @@ -4477,9 +4605,16 @@ "description": "鐩爣浣嶇疆", "type": "string" }, + "toLocationId": { + "type": "integer" + }, "unit": { "description": "鍗曚綅", "type": "string" + }, + "weight": { + "description": "閲嶉噺", + "type": "number" } } }, @@ -4581,8 +4716,6 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, - LeftDelim: "{{", - RightDelim: "}}", } func init() { -- Gitblit v1.8.0