作者 lyh

gx

@@ -397,6 +397,7 @@ class ProjectController extends BaseController @@ -397,6 +397,7 @@ class ProjectController extends BaseController
397 */ 397 */
398 public function getManagerList(){ 398 public function getManagerList(){
399 $hrManagerModel = new ManageHr(); 399 $hrManagerModel = new ManageHr();
  400 + $this->map['status'] = $hrManagerModel::STATUS_ONE;
400 $lists = $hrManagerModel->list($this->map,'id',['id','manage_id','name','entry_position','is_leader']); 401 $lists = $hrManagerModel->list($this->map,'id',['id','manage_id','name','entry_position','is_leader']);
401 $this->response('success',Code::SUCCESS,$lists); 402 $this->response('success',Code::SUCCESS,$lists);
402 } 403 }
@@ -7,6 +7,7 @@ class ManageHr extends Base @@ -7,6 +7,7 @@ class ManageHr extends Base
7 { 7 {
8 protected $table = 'gl_manage_hr'; 8 protected $table = 'gl_manage_hr';
9 9
  10 + const STATUS_ONE = 1;
10 /** 11 /**
11 * 特殊字段 12 * 特殊字段
12 * @return string[] 13 * @return string[]