diff --git a/service/modules/v1/controllers/PatientController.php b/service/modules/v1/controllers/PatientController.php index 517794e..32349dc 100644 --- a/service/modules/v1/controllers/PatientController.php +++ b/service/modules/v1/controllers/PatientController.php @@ -418,7 +418,7 @@ class PatientController extends BaseServiceController 'r.is_delete' => 0, 'r.is_pay' => 1, 'r.is_cancel' => 0, - ])->groupBy(['r.user_patient_id'])->orderBy(['created_at' => SORT_DESC]) + ])->orderBy(['created_at' => SORT_DESC]) ->with(['patient']); break; case 2: