正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
| @@ -610,6 +610,11 @@ class ProjectController extends BaseController | @@ -610,6 +610,11 @@ class ProjectController extends BaseController | ||
| 610 | $hrManagerModel = new ManageHr(); | 610 | $hrManagerModel = new ManageHr(); |
| 611 | if(!isset($this->map['status'])){ | 611 | if(!isset($this->map['status'])){ |
| 612 | $this->map['status'] = $hrManagerModel::STATUS_ONE; | 612 | $this->map['status'] = $hrManagerModel::STATUS_ONE; |
| 613 | + }else{ | ||
| 614 | + if(!is_array($this->map['status'])){ | ||
| 615 | + $this->map['status'] = [$this->map['status']]; | ||
| 616 | + } | ||
| 617 | + $this->map['status'] = ['in',$this->map['status']]; | ||
| 613 | } | 618 | } |
| 614 | if(isset($this->map['entry_position']) && !empty($this->map['entry_position'])){ | 619 | if(isset($this->map['entry_position']) && !empty($this->map['entry_position'])){ |
| 615 | $this->map['entry_position'] = ['in',$this->map['entry_position']]; | 620 | $this->map['entry_position'] = ['in',$this->map['entry_position']]; |
-
请 注册 或 登录 后发表评论