Commit 853ddeb8 by zhangkb

修改系统导出逻辑

parent 29f4d483
...@@ -684,11 +684,13 @@ public class TagFileService { ...@@ -684,11 +684,13 @@ public class TagFileService {
//author:zhangkb time:2020-3-20 desc:将模板转换成中文 //author:zhangkb time:2020-3-20 desc:将模板转换成中文
String catalog = sysTag.getCatalog(); String catalog = sysTag.getCatalog();
if(StringUtils.isNotBlank(catalog)) {
for(Map<String,Object> map : catalogs) { for(Map<String,Object> map : catalogs) {
if(catalog.equals(map.get("catalogId"))) { if(Integer.parseInt(catalog)==(int)map.get("catalogId")) {
catalog = map.get("catalogName").toString(); catalog = map.get("catalogName").toString();
} }
} }
}
row.createCell(contentCellIndex).setCellValue(catalog); row.createCell(contentCellIndex).setCellValue(catalog);
contentCellIndex++; contentCellIndex++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment