正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -540,7 +540,9 @@ class ProjectController extends BaseController | @@ -540,7 +540,9 @@ class ProjectController extends BaseController | ||
| 540 | public function getManagerList(){ | 540 | public function getManagerList(){ |
| 541 | $hrManagerModel = new ManageHr(); | 541 | $hrManagerModel = new ManageHr(); |
| 542 | $this->map['status'] = $hrManagerModel::STATUS_ONE; | 542 | $this->map['status'] = $hrManagerModel::STATUS_ONE; |
| 543 | - $this->map['entry_position'] = ['in',$this->map['entry_position']]; | 543 | + if(isset($this->map['entry_position']) && !empty($this->map['entry_position'])){ |
| 544 | + $this->map['entry_position'] = ['in',$this->map['entry_position']]; | ||
| 545 | + } | ||
| 544 | $lists = $hrManagerModel->list($this->map,'id',['id','manage_id','name','entry_position','is_leader']); | 546 | $lists = $hrManagerModel->list($this->map,'id',['id','manage_id','name','entry_position','is_leader']); |
| 545 | //TODO::添加排序(zgj 售后技术排序调整 start) | 547 | //TODO::添加排序(zgj 售后技术排序调整 start) |
| 546 | $ar_sort = ['王娇'=>1,'银蝶'=>2,'胡哲'=>3,'郭婷婷'=>4,'徐庆'=>5,'邓锦康'=>6,'兰波'=>7]; | 548 | $ar_sort = ['王娇'=>1,'银蝶'=>2,'胡哲'=>3,'郭婷婷'=>4,'徐庆'=>5,'邓锦康'=>6,'兰波'=>7]; |
-
请 注册 或 登录 后发表评论