Commit a4d09e52ba7cb350382c5854b40292368348f795
1 parent
efa0ea618c
Exists in
master
and in
1 other branch
update
Showing 1 changed file with 12 additions and 11 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/task/GetPatientInfoTask.java
View file @
a4d09e5
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | import com.lyms.talkonlineweb.result.BaseResponse; |
| 11 | 11 | import com.lyms.talkonlineweb.service.*; |
| 12 | 12 | import com.lyms.talkonlineweb.util.*; |
| 13 | -import com.sun.deploy.util.StringUtils; | |
| 13 | +//import com.sun.deploy.util.StringUtils; | |
| 14 | 14 | import lombok.extern.log4j.Log4j2; |
| 15 | 15 | import org.springframework.beans.factory.annotation.Autowired; |
| 16 | 16 | import org.springframework.beans.factory.annotation.Value; |
| ... | ... | @@ -72,6 +72,7 @@ |
| 72 | 72 | List<Map<String, Object>> listMap = (List<Map<String, Object>>) resultMap.get("patients"); |
| 73 | 73 | if (CollectionUtils.isNotEmpty(listMap)) { |
| 74 | 74 | for (Map<String, Object> map : listMap) { |
| 75 | + | |
| 75 | 76 | //处理数据 |
| 76 | 77 | collateData(map); |
| 77 | 78 | } |
| ... | ... | @@ -171,11 +172,11 @@ |
| 171 | 172 | StringUtil.isNotEmpty(birthday) && StringUtil.isNotEmpty(phone) && |
| 172 | 173 | StringUtil.isNotEmpty(idCard) && CollectionUtils.isNotEmpty(diagnoseIds) && |
| 173 | 174 | null!=deptId && null!=doctorId){ |
| 174 | - String illness= StringUtils.join(Arrays.asList(diagnoseIds.toArray()), ",");//疾病ids | |
| 175 | - BaseResponse baseResponse = saveOrUpdatePatient(patient2, pcase, illness); | |
| 176 | - if(null!=baseResponse && 0== baseResponse.getErrorcode()){ | |
| 177 | - log.info(">>>>>>>>>>>>>>>患者添加成功!"); | |
| 178 | - } | |
| 175 | +// String illness= StringUtils.join(Arrays.asList(diagnoseIds.toArray()), ",");//疾病ids | |
| 176 | +// BaseResponse baseResponse = saveOrUpdatePatient(patient2, pcase, illness); | |
| 177 | +// if(null!=baseResponse && 0== baseResponse.getErrorcode()){ | |
| 178 | +// log.info(">>>>>>>>>>>>>>>患者添加成功!"); | |
| 179 | +// } | |
| 179 | 180 | } |
| 180 | 181 | }else { |
| 181 | 182 | QueryWrapper<LymsPcase> queryWrapper=new QueryWrapper<>(); |
| ... | ... | @@ -194,11 +195,11 @@ |
| 194 | 195 | StringUtil.isNotEmpty(birthday) && StringUtil.isNotEmpty(phone) && |
| 195 | 196 | StringUtil.isNotEmpty(idCard) && CollectionUtils.isNotEmpty(diagnoseIds) && |
| 196 | 197 | null!=deptId && null!=doctorId){ |
| 197 | - String illness= StringUtils.join(Arrays.asList(diagnoseIds.toArray()), ",");//疾病ids | |
| 198 | - BaseResponse baseResponse = saveOrUpdatePatient(patient2, pcase, illness); | |
| 199 | - if(null!=baseResponse && 0== baseResponse.getErrorcode()){ | |
| 200 | - log.info(">>>>>>>>>>>>>>>患者添加成功!"); | |
| 201 | - } | |
| 198 | +// String illness= StringUtils.join(Arrays.asList(diagnoseIds.toArray()), ",");//疾病ids | |
| 199 | +// BaseResponse baseResponse = saveOrUpdatePatient(patient2, pcase, illness); | |
| 200 | +// if(null!=baseResponse && 0== baseResponse.getErrorcode()){ | |
| 201 | +// log.info(">>>>>>>>>>>>>>>患者添加成功!"); | |
| 202 | +// } | |
| 202 | 203 | } |
| 203 | 204 | }else { |
| 204 | 205 | return; |