package v1 type AddRecallReq struct { Pastureid string `json:"pastureid"` Count int64 `json:"count"` FactoryID []int64 `json:"factoryid"` //召回id } type GetRecallReq struct { Index int64 `json:"index"` PageSize int64 `json:"pagesize"` Batch string `json:"batch"` //批次 StartCount int64 `json:"startcount"` //重量 EndCount int64 `json:"endcount"` CreateName string `json:"createname"` //登记人 StartDate string `json:"startdate"` //登记时间 EndDate string `json:"enddate"` FactoryID int64 `json:"recallid"` //召回id Pastureid string `json:"pastureid"` Replacement int64 `json:"replacement"` //置换时查看传 1 } type Recall struct { Id int64 `json:"id"` PastureId string `json:"pastureid"` //牧场id PastureName string `json:"pasturename"` //牧场名称 Count int64 `json:"count"` //出厂数量 Batch string `json:"batch"` //出厂批次 Recall int64 `json:"recall"` //关联召回批次数 CreateName string `json:"createname"` //登记人 CreateTime string `json:"createtime"` //登记时间 } type GetRecallRes struct { List []*Recall `json:"list"` Total int64 `json:"total"` }