| | |
| | | PageSize int `json:"pageSize" form:"pageSize"` // 每页大小 |
| | | } |
| | | |
| | | type GetById struct { |
| | | ID uint `json:"id"` // 主键ID |
| | | } |
| | | |
| | | type SetCurrentDevice struct { |
| | | CurrentDeviceID string `json:"currentDeviceID,omitempty"` //当前选定的生产设备 |
| | | } |
| | |
| | | } |
| | | |
| | | type ReportWork struct { |
| | | ProcedureId uint `json:"procedureId" binding:"required"` //工序id |
| | | ReportAmount int `json:"reportAmount" binding:"required"` //报工数量 |
| | | WorkerID string `json:"workerID" binding:"required"` //报告者id |
| | | ProcedureId uint `json:"procedureId,string" binding:"required"` //工序id |
| | | ReportAmount int `json:"reportAmount" binding:"required"` //报工数量 |
| | | WorkerID string `json:"workerID" binding:"required"` //报告者id |
| | | } |
| | | |
| | | type ReportWorkList struct { |
| | | PageInfo |
| | | ProcedureId uint `json:"procedureId" binding:"required" form:"procedureId"` //工序id |
| | | ProcedureId uint `json:"procedureId,string" binding:"required" form:"procedureId"` //工序id |
| | | } |