作者 lyh

gx

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