作者 lyh

gx

@@ -53,7 +53,7 @@ class ManagerLogController extends BaseController @@ -53,7 +53,7 @@ class ManagerLogController extends BaseController
53 $ids = $managerModel->where('mobile', 'like', '%' . $this->map['mobile'] . '%')->pluck('id')->toArray(); 53 $ids = $managerModel->where('mobile', 'like', '%' . $this->map['mobile'] . '%')->pluck('id')->toArray();
54 $map['manage_id'] = ['in',$ids]; 54 $map['manage_id'] = ['in',$ids];
55 }elseif (isset($this->map['name']) && !empty($this->map['name'])){ 55 }elseif (isset($this->map['name']) && !empty($this->map['name'])){
56 - $ids = $managerModel->where('name', 'like', '%' . $this->map['name'] . '%')->pluck('id')->toArray(); 56 + $ids = $managerModel->where($this->map['name'])->pluck('id')->toArray();
57 $map['manage_id'] = ['in',$ids]; 57 $map['manage_id'] = ['in',$ids];
58 } 58 }
59 if(isset($this->map['created_at'])){ 59 if(isset($this->map['created_at'])){