From 2ca6b54ad4d287ca1bf52b714cde8a7da63c3a6c Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Sun, 13 Oct 2019 18:00:06 +0800 Subject: [PATCH] aaa --- frontend/controllers/AppointmentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/controllers/AppointmentController.php b/frontend/controllers/AppointmentController.php index fced2ae..3e959f3 100644 --- a/frontend/controllers/AppointmentController.php +++ b/frontend/controllers/AppointmentController.php @@ -301,7 +301,7 @@ class AppointmentController extends BaseController $query = AppointmentT::find() ->leftJoin('car_t','`car_t`.`id`=`appointment_t`.`car_id`') - ->where('appointment_t.is_first=1 and car_t.location=2'); + ->where('appointment_t.is_first=1 and (car_t.location=2 or cat_t.location=4)'); if($username == '') { $user_ids = $this->getChildrenUserIDs();