修改体检信息回传接口时间类型问题

This commit is contained in:
lxd 2025-04-17 11:17:21 +08:00
parent 7ed26a61de
commit 4478bda913

View File

@ -756,7 +756,8 @@ public class InspectPatientController {
patientJYInfoVO.setIdcard(patientDO.getCardId()); patientJYInfoVO.setIdcard(patientDO.getCardId());
if(patientDO.getMedicalDateTime()!=null) if(patientDO.getMedicalDateTime()!=null)
{ {
patientJYInfoVO.setExamindate(patientDO.getMedicalDateTime().toString()); DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
patientJYInfoVO.setExamindate(patientDO.getMedicalDateTime().format(formatter));
} }
//心电图信息 //心电图信息
InspectPacsDataDO ecg = pacsDataService.getPacsDataByCode(medicalSn,"ecg"); InspectPacsDataDO ecg = pacsDataService.getPacsDataByCode(medicalSn,"ecg");