jiangshuai
2023-09-27 65f900c88f0f90ee3b29e9b985723b8f94aaeb0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package request
 
import "github.com/shopspring/decimal"
 
type AddLocationProductAmount struct {
    LocationId       int             `json:"locationId"`
    ProductId        string          `json:"productId"`
    Amount           decimal.Decimal `json:"decimal"`           //库存数量
    AdjustAmount     decimal.Decimal `json:"adjustAmount" `     //差值
    DifferenceAmount decimal.Decimal `json:"difference_amount"` //计数数量
}
 
type UpdateLocationProductAmount struct {
    LocationProductAmountId int             `json:"locationProductAmountId"` //库存盘点id
    AdjustAmount            decimal.Decimal `json:"adjustAmount" `           //差值
    DifferenceAmount        decimal.Decimal `json:"difference_amount"`       //计数数量
}