修复病历数据显示问题

This commit is contained in:
hejiafeng2003 2024-12-23 01:40:19 +08:00
parent 27d4947390
commit 905edd867a
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ public class MedicalRecordController {
List<MedicalRecordInfo> records = patientName != null && !patientName.isEmpty()
? medicalRecordService.getMedicalRecordsByPatientName(patientName)
: medicalRecordService.getAllMedicalRecords();
System.out.println("返回的病历记录:", records);
return ResponseEntity.ok(records);
}