From 2716487d13f3521adeb25a48aa07a89f885d32c7 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期一, 09 十月 2023 09:36:08 +0800 Subject: [PATCH] 仓库功能修改 --- request/location_product_amount.go | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/request/location_product_amount.go b/request/location_product_amount.go index bb2d314..9926b34 100644 --- a/request/location_product_amount.go +++ b/request/location_product_amount.go @@ -1,6 +1,8 @@ package request -import "github.com/shopspring/decimal" +import ( + "github.com/shopspring/decimal" +) type AddLocationProductAmount struct { LocationId int `json:"locationId"` @@ -15,7 +17,7 @@ AdjustAmount decimal.Decimal `json:"adjustAmount" ` //宸�� DifferenceAmount decimal.Decimal `json:"differenceAmount"` //璁℃暟鏁伴噺 OperationId int `json:"operationId"` //鍑哄叆搴搃d - Amount decimal.Decimal `json:"Amount"` //搴撳瓨鏁伴噺 + Amount decimal.Decimal `json:"amount"` //搴撳瓨鏁伴噺 ProductId string `json:"productId"` //浜у搧id } @@ -23,3 +25,9 @@ LocationId int `json:"locationId"` //浣嶇疆id ProductId string `json:"productId"` //浜у搧id } + +type FinishLocationProductAmount struct { + OperationId int `json:"operationId"` //鍑哄叆搴搃d + ProductId string `json:"productId"` //浜у搧id + LocationProductAmountId int `json:"locationProductAmountId"` //搴撳瓨鐩樼偣id +} -- Gitblit v1.8.0