jiangshuai
2023-09-28 cf1b4c60a7005b1dcd2f7e5c4b2ce5ec01c7501e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"` //计数数量
    OperationId      int             `json:"operationId"`      //出入库id
    Amount           decimal.Decimal `json:"Amount"`           //库存数量
    ProductId        string          `json:"productId"`        //产品id
}
 
type FinishLocationProductAmount struct {
    LocationProductAmountId int    `json:"locationProductAmountId"` //库存盘点id
    OperationId             int    `json:"operationId"`             //出入库id
    ProductId               string `json:"productId"`               //产品id
}