liujiandao
2024-04-15 32f4f2b0d507c99d9b4fb7d555b0c2523a92c503
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
27
package request
 
import (
    "github.com/shopspring/decimal"
    "wms/constvar"
)
 
type GetReorderRuleList struct {
    PageInfo
    KeyWord    string `json:"keyWord"`
    LocationId int    `json:"locationId"`
    ProductId  string `json:"productId"`
    Type       string `json:"type"` //类型:bh=补货
}
 
type ProductAmount struct {
    ProductId         string                     `json:"productId"`
    ToLocationId      int                        `json:"toLocationId"`
    FromLocationId    int                        `json:"fromLocationId"`
    Amount            decimal.Decimal            `json:"amount"`
    BaseOperationType constvar.BaseOperationType `json:"baseOperationType"`
}
 
type GetAmountAndPrediction struct {
    ProductId  string `json:"productId"`
    LocationId int    `json:"locationId"`
}