|
|
@@ -35,7 +35,7 @@ class MasterWorkerLists extends BaseWorkerDataLists implements ListsSearchInterf
|
|
|
$where[] = ['team_id','=',$team['id']];
|
|
|
}
|
|
|
}
|
|
|
- if($this->params['work_id']){
|
|
|
+ if(isset($this->params['work_id']) && !empty($this->params['work_id'])){
|
|
|
$where[] = ['team_role','=',2];
|
|
|
$where[] = ['work_status','=',0];
|
|
|
$where[] = ['audit_state','=',1];
|