update
This commit is contained in:
parent
bbfae4c1cd
commit
4ed8d79eeb
@ -225,7 +225,7 @@ class CostConsultationReportController extends BaseAdminController
|
||||
if(!empty($params['project_name'])){
|
||||
$where[] = ['project_name','like','%'.$params['project_name'].'%'];
|
||||
}
|
||||
if(!empty($params['date'])){
|
||||
if(!empty($params['date']) && is_array($params['date'])){
|
||||
$where[] = ['apptime','between',[$params['date']]];
|
||||
}
|
||||
$lists = ProjectCommission::field('id,project_id')->where($where)->page($page_no, $page_size)->order('id desc')->select()->each(function($data){
|
||||
|
Loading…
x
Reference in New Issue
Block a user