|
@@ -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];
|