cqp 3 月之前
父节点
当前提交
3981652111
共有 1 个文件被更改,包括 4 次插入1 次删除
  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 = [];