|
|
@ -300,7 +300,8 @@ public class AppController extends BaseController
|
|
|
|
tPatientHospitalDoctor.setPatientId(patientId);
|
|
|
|
tPatientHospitalDoctor.setPatientId(patientId);
|
|
|
|
List<TRecordResp> tRecords = tRecordService.queryRecordListByPHDids(tPatientHospitalDoctor);
|
|
|
|
List<TRecordResp> tRecords = tRecordService.queryRecordListByPHDids(tPatientHospitalDoctor);
|
|
|
|
List<TRecordResp> tRecordResps = tRecords.stream().filter(record -> "1".equals(record.getStatus())).collect(Collectors.toList());
|
|
|
|
List<TRecordResp> tRecordResps = tRecords.stream().filter(record -> "1".equals(record.getStatus())).collect(Collectors.toList());
|
|
|
|
return AjaxResult.success(tRecordResps);
|
|
|
|
List<TRecordResp> respList = tRecordResps.stream().sorted(Comparator.comparing(TRecordResp::getUploadTime).reversed()).collect(Collectors.toList());
|
|
|
|
|
|
|
|
return AjaxResult.success(respList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|