|
|
|
|
@ -223,6 +223,8 @@ public class Archive_MasterServiceImpl implements Archive_MasterService {
|
|
|
|
|
Emr_Dictionary dictionary = new Emr_Dictionary();
|
|
|
|
|
dictionary.setTypecode("dept_code");
|
|
|
|
|
List<Emr_Dictionary> dictionaries = dictionaryMapper.dicByTypeCode(dictionary);
|
|
|
|
|
//查询孕妇有扫描的婴儿的id
|
|
|
|
|
List<String> scanBabyIdList = archiveMasterMapper.selectBabyIdWithScan();
|
|
|
|
|
for (Archive_Master_Vo masterVo : list) {
|
|
|
|
|
//科室名称编码转名称
|
|
|
|
|
deptNameCode2Name(dictionaries, masterVo);
|
|
|
|
|
@ -233,6 +235,14 @@ public class Archive_MasterServiceImpl implements Archive_MasterService {
|
|
|
|
|
}else if(status.equals(EnumVerify.DocState.CallBacked.getCode())){
|
|
|
|
|
masterVo.setStatus(EnumVerify.DocState.CallBacked.getName());
|
|
|
|
|
}
|
|
|
|
|
if(!CollectionUtils.isEmpty(scanBabyIdList) && (StringUtils.isBlank(archiveMasterVo.getCheckName()) || "1".equals(archiveMasterVo.getCheckName()))){
|
|
|
|
|
for(String scanBabyId : scanBabyIdList){
|
|
|
|
|
if(masterVo.getId().equals(scanBabyId)){
|
|
|
|
|
masterVo.setCheckName("是");
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return list;
|
|
|
|
|
|