| | |
| | | InMaintenanceDeviceAmount int64 //维修中设备数 |
| | | InternalDeviceRunningAmount int //自有开机台数 |
| | | ExternalDeviceRunningAmount int //外加工台数 |
| | | OutPlanProductionAmount *int //计划外加工数 |
| | | OutPlanProductionAmount int //计划外加工数 |
| | | PlanProductionAmount int //计划加工数 |
| | | RealExternalProductionAmount *int //实际外加工数 |
| | | RealExternalProductionAmount int //实际外加工数 |
| | | RealProductionAmount int //实际生产数 |
| | | WorkOrderFinishRate int //近一周工单完成率 |
| | | |
| | |
| | | return nil |
| | | } |
| | | |
| | | func (slf *DashboardSearch) Updates(record *Dashboard) error { |
| | | func (slf *DashboardSearch) Save(record *Dashboard) error { |
| | | var db = slf.build() |
| | | |
| | | if err := db.Save(record).Error; err != nil { |