From 601e89dd7929996c4c98e03458471321dc4fc42e Mon Sep 17 00:00:00 2001 From: zhangheng <3226558941@qq.com> Date: Thu, 29 Jan 2026 09:50:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/service/patientinfo/impl/PatientInfoServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postdischarge-manage/src/main/java/com/xinelu/manage/service/patientinfo/impl/PatientInfoServiceImpl.java b/postdischarge-manage/src/main/java/com/xinelu/manage/service/patientinfo/impl/PatientInfoServiceImpl.java index 830c4881..6f938976 100644 --- a/postdischarge-manage/src/main/java/com/xinelu/manage/service/patientinfo/impl/PatientInfoServiceImpl.java +++ b/postdischarge-manage/src/main/java/com/xinelu/manage/service/patientinfo/impl/PatientInfoServiceImpl.java @@ -378,7 +378,7 @@ public class PatientInfoServiceImpl implements IPatientInfoService { return AjaxResult.error("导入数据列表不能为空!"); } //如果存在 患者姓名或手机号或科室或就诊日期为空的情况,直接返回;(暂时去除时间判断) - List collect = list.stream().filter(Objects::nonNull).filter(item -> StringUtils.isEmpty(item.getPatientName()) || StringUtils.isEmpty(item.getDepartmentName()) || StringUtils.isEmpty(item.getPatientPhone())).collect(Collectors.toList()); + List collect = list.stream().filter(Objects::nonNull).filter(item -> StringUtils.isEmpty(item.getPatientName()) || StringUtils.isEmpty(item.getDeptAlias()) || StringUtils.isEmpty(item.getPatientPhone())).collect(Collectors.toList()); if (CollectionUtils.isNotEmpty(collect)) { return AjaxResult.error("用户信息不完整,姓名、联系电话、科室均不能为空,请完善后重试;"); }