|
@@ -432,10 +432,10 @@ class EmployeeService extends Service
|
|
|
if(! empty($data['code'])) $model->where('code', 'LIKE', '%'.$data['code'].'%');
|
|
|
|
|
|
$list = $model->get()->toArray();
|
|
|
- if(! empty($list)) {
|
|
|
- $list = $this->makeTree(0,$list);
|
|
|
- $list = $this->set_sort_circle($list);
|
|
|
- }
|
|
|
+// if(! empty($list)) {
|
|
|
+// $list = $this->makeTree(0,$list);
|
|
|
+// $list = $this->set_sort_circle($list);
|
|
|
+// }
|
|
|
|
|
|
return [200,$list];
|
|
|
}
|