修复病历数据显示问题
This commit is contained in:
parent
27d4947390
commit
905edd867a
|
@ -28,6 +28,7 @@ public class MedicalRecordController {
|
||||||
List<MedicalRecordInfo> records = patientName != null && !patientName.isEmpty()
|
List<MedicalRecordInfo> records = patientName != null && !patientName.isEmpty()
|
||||||
? medicalRecordService.getMedicalRecordsByPatientName(patientName)
|
? medicalRecordService.getMedicalRecordsByPatientName(patientName)
|
||||||
: medicalRecordService.getAllMedicalRecords();
|
: medicalRecordService.getAllMedicalRecords();
|
||||||
|
System.out.println("返回的病历记录:", records);
|
||||||
return ResponseEntity.ok(records);
|
return ResponseEntity.ok(records);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue