cqp 9 months ago
parent
commit
1cae110fa1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Service/InspectService.php

+ 1 - 0
app/Service/InspectService.php

@@ -323,6 +323,7 @@ class InspectService extends Service
 
         // 设备总数
         $device_list = Equipment::where('del_time',0)
+            ->where('check_cycle', '>', 0)
             ->select('id','title','code','maintenance_expire_time')
             ->get()->toArray();
         if(empty($device_list)) return [true, $return];