...
|
...
|
@@ -161,13 +161,12 @@ class AdminInspectBController extends AdminBaseController |
|
|
$time = date('Y-m-d',$value['create_time']);
|
|
|
$time1 = date('Y-m-d',$value['create_time']+86400);
|
|
|
|
|
|
$status = $adminCommon->insStatus(['party'=>1,'project_id'=>$value['project_id'],'status'=>0],$time,$time1);
|
|
|
$status = $adminCommon->insStatus(['project_id'=>$value['project_id'],'status'=>0],$time,$time1);
|
|
|
$arr['inspect_status'] = $status;
|
|
|
|
|
|
//查询所有巡检点
|
|
|
$point = $adminCommon->getPoint(['party'=>1,'project_id'=>$value['project_id']],$time,$time1);
|
|
|
$point = $adminCommon->getPoint(['project_id'=>$value['project_id']],$time,$time1);
|
|
|
$arr['point'] = $point;
|
|
|
|
|
|
//获取文件路径
|
|
|
$url = $adminExcel->inspectExcelData($arr);
|
|
|
$month = date('Y-m',$value['create_time']);
|
...
|
...
|
|