|
@@ -608,7 +608,7 @@ class WholeController extends Curd
|
|
|
$orderConfigJson['premises'] = $params['dept_premises_id'];
|
|
|
}
|
|
|
if (!empty($params['dept_table_id'])) {
|
|
|
- if (isset($orderConfigJson['tableid']) && $params['dept_table_id'] != $orderConfigJson['tableid']) {
|
|
|
+ if (!empty($orderConfigJson['tableid']) && $params['dept_table_id'] != $orderConfigJson['tableid']) {
|
|
|
// 原桌释放
|
|
|
SysDept::where('dept_id', $orderConfigJson['tableid'])->update(['dept_status' => 'ACTIVED']);
|
|
|
|