作者 lyh

gx

@@ -496,9 +496,9 @@ class ProjectController extends BaseController @@ -496,9 +496,9 @@ class ProjectController extends BaseController
496 public function getManagerList(){ 496 public function getManagerList(){
497 $hrManagerModel = new ManageHr(); 497 $hrManagerModel = new ManageHr();
498 $this->map['status'] = $hrManagerModel::STATUS_ONE; 498 $this->map['status'] = $hrManagerModel::STATUS_ONE;
499 - if(isset($this->map['entry_position']) && is_array($this->map['entry_position'])){  
500 - $this->map['entry_position'] = ['in',$this->map['entry_position']];  
501 - } 499 +// if(isset($this->map['entry_position']) && is_array($this->map['entry_position'])){
  500 +// $this->map['entry_position'] = ['in',$this->map['entry_position']];
  501 +// }
502 $lists = $hrManagerModel->list($this->map,'id',['id','manage_id','name','entry_position','is_leader']); 502 $lists = $hrManagerModel->list($this->map,'id',['id','manage_id','name','entry_position','is_leader']);
503 $this->response('success',Code::SUCCESS,$lists); 503 $this->response('success',Code::SUCCESS,$lists);
504 } 504 }