From a4d09e52ba7cb350382c5854b40292368348f795 Mon Sep 17 00:00:00 2001 From: shiyang <316555390@qq.com> Date: Wed, 23 Feb 2022 14:16:37 +0800 Subject: [PATCH] update --- .../talkonlineweb/task/GetPatientInfoTask.java | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/GetPatientInfoTask.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/GetPatientInfoTask.java index fe14950..cd00ce8 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/GetPatientInfoTask.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/GetPatientInfoTask.java @@ -10,7 +10,7 @@ import com.lyms.talkonlineweb.domain.*; import com.lyms.talkonlineweb.result.BaseResponse; import com.lyms.talkonlineweb.service.*; import com.lyms.talkonlineweb.util.*; -import com.sun.deploy.util.StringUtils; +//import com.sun.deploy.util.StringUtils; import lombok.extern.log4j.Log4j2; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; @@ -72,6 +72,7 @@ public class GetPatientInfoTask { List> listMap = (List>) resultMap.get("patients"); if (CollectionUtils.isNotEmpty(listMap)) { for (Map map : listMap) { + //处理数据 collateData(map); } @@ -171,11 +172,11 @@ public class GetPatientInfoTask { StringUtil.isNotEmpty(birthday) && StringUtil.isNotEmpty(phone) && StringUtil.isNotEmpty(idCard) && CollectionUtils.isNotEmpty(diagnoseIds) && null!=deptId && null!=doctorId){ - String illness= StringUtils.join(Arrays.asList(diagnoseIds.toArray()), ",");//疾病ids - BaseResponse baseResponse = saveOrUpdatePatient(patient2, pcase, illness); - if(null!=baseResponse && 0== baseResponse.getErrorcode()){ - log.info(">>>>>>>>>>>>>>>患者添加成功!"); - } +// String illness= StringUtils.join(Arrays.asList(diagnoseIds.toArray()), ",");//疾病ids +// BaseResponse baseResponse = saveOrUpdatePatient(patient2, pcase, illness); +// if(null!=baseResponse && 0== baseResponse.getErrorcode()){ +// log.info(">>>>>>>>>>>>>>>患者添加成功!"); +// } } }else { QueryWrapper queryWrapper=new QueryWrapper<>(); @@ -194,11 +195,11 @@ public class GetPatientInfoTask { StringUtil.isNotEmpty(birthday) && StringUtil.isNotEmpty(phone) && StringUtil.isNotEmpty(idCard) && CollectionUtils.isNotEmpty(diagnoseIds) && null!=deptId && null!=doctorId){ - String illness= StringUtils.join(Arrays.asList(diagnoseIds.toArray()), ",");//疾病ids - BaseResponse baseResponse = saveOrUpdatePatient(patient2, pcase, illness); - if(null!=baseResponse && 0== baseResponse.getErrorcode()){ - log.info(">>>>>>>>>>>>>>>患者添加成功!"); - } +// String illness= StringUtils.join(Arrays.asList(diagnoseIds.toArray()), ",");//疾病ids +// BaseResponse baseResponse = saveOrUpdatePatient(patient2, pcase, illness); +// if(null!=baseResponse && 0== baseResponse.getErrorcode()){ +// log.info(">>>>>>>>>>>>>>>患者添加成功!"); +// } } }else { return; -- 1.8.3.1