From 4c137c636e2442519ac3cdf7f2d9bc1fc5428582 Mon Sep 17 00:00:00 2001 From: zhangheng <3226558941@qq.com> Date: Tue, 31 Dec 2024 17:31:20 +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 --- .../service/patientinfo/impl/PatientInfoServiceImpl.java | 7 +------ .../mapper/manage/residentinfo/ResidentInfoMapper.xml | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) 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 c2e7bcec..c0fb188e 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 @@ -440,9 +440,7 @@ public class PatientInfoServiceImpl implements IPatientInfoService { deptAliasVO.setSn(sn); deptAliasVO.setDeptAlias(patientInfoImport.getDeptAlias()); deptAliasVOS.add(deptAliasVO); - - //????? - // 20241209 注释掉,没什么用用,zyk 貌似用于下面重复判断 + // patientInfoImportList为总数据,新增patient_info_import需要 patientInfoImportList.add(patientInfoImport); } if (CollectionUtils.isEmpty(patientInfoImportList)) { @@ -465,7 +463,6 @@ public class PatientInfoServiceImpl implements IPatientInfoService { log.info("缓存表新增失败!"); return AjaxResult.error("数据导入失败!"); } - //导入记录主表 //region 导入记录主表 PatientInfoImportMain patientInfoImportMain = new PatientInfoImportMain(); patientInfoImportMain.setCreateBy(SecurityUtils.getUsername()); @@ -482,7 +479,6 @@ public class PatientInfoServiceImpl implements IPatientInfoService { if (CollectionUtils.isNotEmpty(deptAliasVOS)) { return AjaxResult.error("科室名称不存在", patientInfoImportVO); } else { - //新增居民表 //region 新增居民表 patientInfoImportList.forEach(item -> { @@ -563,7 +559,6 @@ public class PatientInfoServiceImpl implements IPatientInfoService { patientInfo.setPatientVisitRecordId(patientVisitRecord.getId()); patientInfoMapper.updatePatientInfoSelective(patientInfo); } - //endregion } PatientInfoImportMain patientInfoImportMainSn = new PatientInfoImportMain(); diff --git a/postdischarge-manage/src/main/resources/mapper/manage/residentinfo/ResidentInfoMapper.xml b/postdischarge-manage/src/main/resources/mapper/manage/residentinfo/ResidentInfoMapper.xml index 749faa5a..aeb9b5f3 100644 --- a/postdischarge-manage/src/main/resources/mapper/manage/residentinfo/ResidentInfoMapper.xml +++ b/postdischarge-manage/src/main/resources/mapper/manage/residentinfo/ResidentInfoMapper.xml @@ -238,6 +238,7 @@