From 318c49da20ec30c4f85ef35e479499e82a841b25 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期一, 11 三月 2024 14:18:13 +0800 Subject: [PATCH] swag提交 --- response/report_forms_response.go | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/response/report_forms_response.go b/response/report_forms_response.go index 8bf283c..0aafe8e 100644 --- a/response/report_forms_response.go +++ b/response/report_forms_response.go @@ -2,6 +2,7 @@ import ( "github.com/shopspring/decimal" + "wms/constvar" ) type InventoryForms struct { @@ -18,19 +19,27 @@ } type InventoryHistory struct { - Number string `json:"number"` //鍗曞彿 - Date string `json:"date"` //鏃ユ湡 - ProductName string `json:"productName"` //浜у搧鍚嶇О - FromLocation string `json:"fromLocation"` //婧愪綅缃� - ToLocation string `json:"toLocation"` //鐩爣浣嶇疆 - Amount decimal.Decimal `json:"amount"` //鏁伴噺 - Unit string `json:"unit"` //鍗曚綅 - ContactedName string `json:"contactedName"` //瀹屾垚鑰� - Status string `json:"status"` //鐘舵�� + Number string `json:"number"` //鍗曞彿 + Date string `json:"date"` //鏃ユ湡 + ProductName string `json:"productName"` //浜у搧鍚嶇О + FromLocation string `json:"fromLocation"` //婧愪綅缃� + ToLocation string `json:"toLocation"` //鐩爣浣嶇疆 + Amount decimal.Decimal `json:"amount"` //鏁伴噺 + Unit string `json:"unit"` //鍗曚綅 + ContactedName string `json:"contactedName"` //瀹屾垚鑰� + Status string `json:"status"` //鐘舵�� + BaseOperationType constvar.BaseOperationType `json:"baseOperationType"` //鍩虹浣滀笟绫诲瀷 + Weight decimal.Decimal `json:"weight"` //閲嶉噺 + ProductId string `json:"productId"` + FromLocationId int `json:"fromLocationId"` + ToLocationId int `json:"toLocationId"` + OperationId int `json:"operationId"` + OperationTypeName string `json:"operationTypeName"` //浣滀笟绫诲瀷鍚嶇О } type LocationForms struct { ProduceId string `json:"produceId"` //浜у搧id + LocationId int `json:"locationId"` //浣嶇疆id LocationName string `json:"locationName"` //浣嶇疆鍚嶇О ProductName string `json:"productName"` //浜у搧鍚嶇О ProductTypeName string `json:"productTypeName"` //浜у搧绫诲埆 -- Gitblit v1.8.0