package request import "github.com/shopspring/decimal" type AddLocationProductAmount struct { LocationId int `json:"locationId"` ProductId string `json:"productId"` Amount decimal.Decimal `json:"Amount"` //库存数量 AdjustAmount decimal.Decimal `json:"adjustAmount" ` //差值 DifferenceAmount decimal.Decimal `json:"differenceAmount"` //计数数量 } type UpdateLocationProductAmount struct { LocationProductAmountId int `json:"locationProductAmountId"` //库存盘点id AdjustAmount decimal.Decimal `json:"adjustAmount" ` //差值 DifferenceAmount decimal.Decimal `json:"differenceAmount"` //计数数量 }