|
@@ -4523,6 +4523,8 @@ class WholeController extends Curd
|
|
|
if (!empty($premises) || !empty($restaurant)) {
|
|
|
if ($order->order_classify == 'DISHES' && empty($restaurant)) {
|
|
|
$restaurant = SysDept::where('dept_super_id', $premises->dept_id)->where('dept_category', '餐厅')->first();
|
|
|
+ } elseif ($order->order_classify != 'DISHES') {
|
|
|
+ $restaurant = $premises;
|
|
|
}
|
|
|
if (!empty($restaurant->dept_extend_json)) {
|
|
|
$voteData = [
|