From 541486c20ad74c2bcbb2e42137a116981b313787 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期一, 25 九月 2023 10:18:06 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- docs/docs.go | 41 +++++++++++++---------------------------- 1 files changed, 13 insertions(+), 28 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 3d921fd..20489c0 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2118,7 +2118,7 @@ "type": "object", "properties": { "amount": { - "description": "鏁伴噺", + "description": "ProductName string ` + "`" + `json:\"productName\" gorm:\"type:varchar(255);not null;comment:浜у搧鍚嶇О\"` + "`" + ` //浜у搧鍚嶇О", "type": "number" }, "createTime": { @@ -2131,15 +2131,16 @@ "description": "鎿嶄綔id", "type": "integer" }, + "product": { + "description": "Unit string ` + "`" + `json:\"unit\" gorm:\"type:varchar(31);comment:鍗曚綅\"` + "`" + ` //鍗曚綅", + "allOf": [ + { + "$ref": "#/definitions/models.Material" + } + ] + }, "productId": { "description": "浜у搧id", - "type": "string" - }, - "productName": { - "description": "浜у搧鍚嶇О", - "type": "string" - }, - "unit": { "type": "string" }, "updateTime": { @@ -2430,6 +2431,7 @@ "type": "object", "properties": { "amount": { + "description": "ProductName string ` + "`" + `json:\"productName\"` + "`" + `", "type": "number" }, "fromLocationId": { @@ -2438,17 +2440,11 @@ "productId": { "type": "string" }, - "productName": { - "type": "string" - }, "sourceNumber": { "type": "string" }, "toLocationId": { "type": "integer" - }, - "unit": { - "type": "string" } } }, @@ -2690,18 +2686,11 @@ "type": "integer" }, "amount": { - "description": "鏁伴噺", + "description": "ProductName string ` + "`" + `json:\"productName\" gorm:\"type:varchar(255);not null;comment:浜у搧鍚嶇О\"` + "`" + ` //浜у搧鍚嶇О", "type": "number" }, "productId": { "description": "浜у搧id", - "type": "string" - }, - "productName": { - "description": "浜у搧鍚嶇О", - "type": "string" - }, - "unit": { "type": "string" } } @@ -2803,6 +2792,7 @@ "type": "object", "properties": { "amount": { + "description": "ProductName string ` + "`" + `json:\"productName\"` + "`" + `", "type": "number" }, "fromLocationId": { @@ -2812,15 +2802,13 @@ "type": "integer" }, "number": { + "description": "Unit string ` + "`" + `json:\"unit\"` + "`" + `", "type": "string" }, "operationDate": { "type": "string" }, "productId": { - "type": "string" - }, - "productName": { "type": "string" }, "sourceNumber": { @@ -2831,9 +2819,6 @@ }, "toLocationId": { "type": "integer" - }, - "unit": { - "type": "string" } } }, -- Gitblit v1.8.0