This commit is contained in:
wangliwen 2022-06-17 18:33:27 +08:00
parent fb33764365
commit da765470e0
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ public class ResourceExcelImportListener extends AnalysisEventListener<Map<Integ
logger.info("找不到部门:{}", index.toString()); logger.info("找不到部门:{}", index.toString());
deptOptional = Optional.of(new LinkedHashMap<String, Object>() { deptOptional = Optional.of(new LinkedHashMap<String, Object>() {
{ {
put("id", 1L); put("id", 1516728214814113793L); // 包头市行政审批和政务服务服务局
} }
}); });
} }
@ -367,7 +367,7 @@ public class ResourceExcelImportListener extends AnalysisEventListener<Map<Integ
} }
resourceDTO.setInfoList(infoList.stream().distinct().filter(info -> StringUtils.isNotEmpty(info.getAttrValue())).collect(Collectors.toList())); // infoList内空属性不导入 resourceDTO.setInfoList(infoList.stream().distinct().filter(info -> StringUtils.isNotEmpty(info.getAttrValue())).collect(Collectors.toList())); // infoList内空属性不导入
resourceDTO.setDelFlag(0); resourceDTO.setDelFlag(0);
// resourceDTO.setDeptId(deptId); // 所属部门 resourceDTO.setDeptId(deptId); // 所属部门
return resourceDTO; return resourceDTO;
} }