作者 jinglong
1 个管道 的构建 通过 耗费 42 秒

修改日检报表列表时间

... ... @@ -1205,7 +1205,7 @@ class CommonController extends RestBaseController
$res = Db::name($table)
->alias('i')
->join('project p','i.project_id = p.id','LEFT')
->whereIn('i.project_id',$pids)
// ->whereIn('i.project_id',$pids)
->where(function ($query) use ($data) {
//项目id
$project_id = !empty($data['project_id'])&&isset($data['project_id'])?$data['project_id']:'';
... ... @@ -1239,7 +1239,7 @@ class CommonController extends RestBaseController
$count = Db::name($table)
->alias('i')
->join('project p','i.project_id = p.id','LEFT')
->whereIn('i.project_id',$pids)
// ->whereIn('i.project_id',$pids)
->where(function ($query) use ($data) {
//项目id
$project_id = !empty($data['project_id'])&&isset($data['project_id'])?$data['project_id']:'';
... ...