Commit 853ddeb8 by zhangkb

修改系统导出逻辑

parent 29f4d483
......@@ -684,10 +684,12 @@ public class TagFileService {
//author:zhangkb time:2020-3-20 desc:将模板转换成中文
String catalog = sysTag.getCatalog();
for(Map<String,Object> map : catalogs) {
if(catalog.equals(map.get("catalogId"))) {
catalog = map.get("catalogName").toString();
}
if(StringUtils.isNotBlank(catalog)) {
for(Map<String,Object> map : catalogs) {
if(Integer.parseInt(catalog)==(int)map.get("catalogId")) {
catalog = map.get("catalogName").toString();
}
}
}
row.createCell(contentCellIndex).setCellValue(catalog);
......
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