|
@@ -704,7 +704,7 @@ class EmployeeService extends Service
|
|
|
public function departList($data,$user){
|
|
|
$model = Depart::where('del_time',0)
|
|
|
->select('title','id','code','parent_id','is_main','basic_type_id','rate','notify_id')
|
|
|
- ->orderby('code', 'asc');
|
|
|
+ ->orderby('id', 'asc');
|
|
|
|
|
|
if(! empty($data['get_top']) && $data['get_top'] == 1){
|
|
|
//指派销售
|