zhangqian
2023-11-25 8b88bcc370b0b2e22fbbf872c2c460fe2a208181
model/request/common.go
@@ -16,3 +16,14 @@
type DeviceConfig struct {
   NeedSetProcessParams bool `json:"needSetProcessParams,omitempty"` //是否需要设置工艺参数
}
type ReportWork struct {
   ProcedureId  uint   `json:"procedureId" 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"` //工序id
}