cqp před 3 měsíci
rodič
revize
3981652111
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      app/Service/ReportFormsService.php

+ 4 - 1
app/Service/ReportFormsService.php

@@ -742,7 +742,10 @@ class ReportFormsService extends Service
             ->toArray();
 
         if(empty($result)) return [true,[]];
-        $device_name = Equipment::where('del_time',0)->pluck('title')->toArray();
+        $device_name = Equipment::where('del_time',0)
+            ->where('model','<>',1)
+            ->pluck('title')
+            ->toArray();
 
         //运行时间  工作时间  故障
         $run_time = $process_time = $fault = [];