diff --git a/src/main/java/edu/zrh/healthsystem/controller/MedicalRecordController.java b/src/main/java/edu/zrh/healthsystem/controller/MedicalRecordController.java index 64b63e8..dcf3500 100644 --- a/src/main/java/edu/zrh/healthsystem/controller/MedicalRecordController.java +++ b/src/main/java/edu/zrh/healthsystem/controller/MedicalRecordController.java @@ -28,6 +28,7 @@ public class MedicalRecordController { List records = patientName != null && !patientName.isEmpty() ? medicalRecordService.getMedicalRecordsByPatientName(patientName) : medicalRecordService.getAllMedicalRecords(); + System.out.println("返回的病历记录:", records); return ResponseEntity.ok(records); }