From 1b8f08e29af05a5f4a53da777043fa064f67f307 Mon Sep 17 00:00:00 2001 From: liqi Date: Mon, 6 Jan 2025 15:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=A3=E8=80=85=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/modules/v1/controllers/PatientController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: