From c73d79fe050e21bc53b3e94b6ca79fd3761d4d17 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 14 六月 2024 10:24:52 +0800 Subject: [PATCH] 操作类型支持仓库id搜索 --- docs/docs.go | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 113 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index ebff3df..44264e2 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1875,6 +1875,12 @@ "description": "姣忛〉澶у皬", "name": "pageSize", "in": "query" + }, + { + "type": "integer", + "description": "浠撳簱id", + "name": "warehouseId", + "in": "query" } ], "responses": { @@ -3445,6 +3451,18 @@ "ReservationNever" ] }, + "gorm.DeletedAt": { + "type": "object", + "properties": { + "time": { + "type": "string" + }, + "valid": { + "description": "Valid is true if Time is not NULL", + "type": "boolean" + } + } + }, "inventory_order.WorkerInfo": { "type": "object", "properties": { @@ -3473,6 +3491,46 @@ }, "id": { "type": "integer" + } + } + }, + "models.Attribute": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "dataType": { + "description": "鍊肩被鍨嬶紙1瀛楃涓� 2 int 3 涓嬫媺妗� 锛�", + "type": "integer" + }, + "deletedAt": { + "$ref": "#/definitions/gorm.DeletedAt" + }, + "entityType": { + "description": "缁欒皝鐢ㄧ殑 1 鐗╂枡锛堜骇鍝侊級", + "type": "integer" + }, + "id": { + "type": "integer" + }, + "name": { + "description": "灞炴�у悕绉�", + "type": "string" + }, + "selectValues": { + "description": "dateType=3鏃剁敤", + "type": "array", + "items": { + "type": "string" + } + }, + "updatedAt": { + "type": "string" + }, + "value": { + "description": "浠嶢ttributeValue鍙栧埌鐨剉alue", + "type": "string" } } }, @@ -3712,6 +3770,13 @@ "type": "array", "items": { "$ref": "#/definitions/models.Attachment" + } + }, + "attributes": { + "description": "鍔ㄦ�佸睘鎬�", + "type": "array", + "items": { + "$ref": "#/definitions/models.Attribute" } }, "autoIncr": { @@ -4149,6 +4214,12 @@ } ] }, + "checkedAt": { + "type": "string" + }, + "checkedBy": { + "type": "string" + }, "comment": { "type": "string" }, @@ -4162,6 +4233,9 @@ "type": "integer" }, "contacterName": { + "type": "string" + }, + "createBy": { "type": "string" }, "createTime": { @@ -4316,6 +4390,9 @@ }, "id": { "type": "integer" + }, + "note": { + "type": "string" }, "operationId": { "description": "鎿嶄綔id", @@ -4491,6 +4568,7 @@ "type": "number" }, "floating": { + "description": "鏄惁娴姩鍒╃巼", "type": "boolean" }, "unit": { @@ -5674,9 +5752,23 @@ "description": "鍦ㄥ簱鏁伴噺", "type": "number" }, + "amountMoreUnits": { + "description": "鍦ㄥ簱鏁伴噺澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, "availableNumber": { "description": "鍙敤搴撳瓨", "type": "number" + }, + "availableNumberMoreUnits": { + "description": "鍙敤搴撳瓨澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } }, "cost": { "description": "鎴愭湰", @@ -5686,9 +5778,23 @@ "description": "鍏ュ簱", "type": "number" }, + "inMoreUnits": { + "description": "鍏ュ簱澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, "out": { "description": "鍑哄簱", "type": "number" + }, + "outMoreUnits": { + "description": "鍑哄簱澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } }, "produceId": { "description": "浜у搧id", @@ -5719,6 +5825,13 @@ "description": "鏁伴噺", "type": "number" }, + "amountMoreUnits": { + "description": "鍦ㄥ簱鏁伴噺澶氬崟浣�", + "type": "array", + "items": { + "$ref": "#/definitions/models.UnitItems" + } + }, "locationId": { "description": "浣嶇疆id", "type": "integer" -- Gitblit v1.8.0