正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -496,11 +496,11 @@ class ProjectController extends BaseController | @@ -496,11 +496,11 @@ 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 | + var_dump($this->map); | ||
| 500 | + die(); | ||
| 499 | if(isset($this->map['entry_position']) && is_array($this->map['entry_position'])){ | 501 | if(isset($this->map['entry_position']) && is_array($this->map['entry_position'])){ |
| 500 | $this->map['entry_position'] = ['in',$this->map['entry_position']]; | 502 | $this->map['entry_position'] = ['in',$this->map['entry_position']]; |
| 501 | } | 503 | } |
| 502 | - var_dump($this->map); | ||
| 503 | - die(); | ||
| 504 | $lists = $hrManagerModel->list($this->map,'id',['id','manage_id','name','entry_position','is_leader']); | 504 | $lists = $hrManagerModel->list($this->map,'id',['id','manage_id','name','entry_position','is_leader']); |
| 505 | $this->response('success',Code::SUCCESS,$lists); | 505 | $this->response('success',Code::SUCCESS,$lists); |
| 506 | } | 506 | } |
-
请 注册 或 登录 后发表评论