|
@@ -356,7 +356,7 @@ class RestaurantTableController extends Curd
|
|
|
$restaurant = SysDept::where('dept_super_id', $premise->dept_id)->where('dept_category', '餐厅')->where('dept_status', 'ACTIVED')->first();
|
|
|
}
|
|
|
|
|
|
- $tables = SysDept::where('dept_super_id', $restaurant->dept_id)->where('dept_category', '桌台')->orderBy('dept_status','ASC')->get()->toArray();
|
|
|
+ $tables = SysDept::where('dept_super_id', $restaurant->dept_id)->where('dept_category', '桌台')->orderBy('dept_sort','ASC')->get()->toArray();
|
|
|
|
|
|
foreach ($tables as $table) {
|
|
|
$tableList[] = [
|