Commit 729ff3b7 authored by yanzg's avatar yanzg

Excel导出功能

parent 40ce24ad
...@@ -484,7 +484,7 @@ public abstract class BaseDaoSql { ...@@ -484,7 +484,7 @@ public abstract class BaseDaoSql {
// 寻找到的代码片段 不包含分括号 // 寻找到的代码片段 不包含分括号
while (m.find()) { while (m.find()) {
String name = m.group(); String name = m.group();
List<String> codes = codeMap.containsKey(name) ? codeMap.get(name) : new ArrayList<String>(); List<String> codes = codeMap.containsKey(name) ? codeMap.get(name) : new ArrayList<>();
String code = String.format(" %s ", String.join(" ", codes)); String code = String.format(" %s ", String.join(" ", codes));
sql = sql.replace(name, code); sql = sql.replace(name, code);
} }
......
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