models/reorder_rule.go
@@ -22,6 +22,7 @@ Unit string `json:"unit" gorm:"type:varchar(100);comment:单位"` //单位 Amount decimal.Decimal `json:"amount" gorm:"-"` //在库数量 Prediction decimal.Decimal `json:"prediction" gorm:"-"` //预测数量 SupplierId int64 `json:"supplierId" gorm:"-"` //供应商id } ReorderRuleSearch struct { ReorderRule