Commit 7cdd568b authored by yanzg's avatar yanzg

不记录系统日志

parent 5a855d59
...@@ -128,6 +128,7 @@ public abstract class SqlCondBase<T extends SqlCondBase> implements SqlCond<T> { ...@@ -128,6 +128,7 @@ public abstract class SqlCondBase<T extends SqlCondBase> implements SqlCond<T> {
* @param code 代码片段 * @param code 代码片段
*/ */
protected void addCodeMap(Map<String, List<String>> codeMap, String name, String code) { protected void addCodeMap(Map<String, List<String>> codeMap, String name, String code) {
name = name.toLowerCase();
if (!codeMap.containsKey(name)) { if (!codeMap.containsKey(name)) {
codeMap.put(name, new ArrayList<String>()); codeMap.put(name, new ArrayList<String>());
} }
......
...@@ -595,7 +595,7 @@ public abstract class BaseDaoSql { ...@@ -595,7 +595,7 @@ public abstract class BaseDaoSql {
// 设置寻找到标签 // 设置寻找到标签
find[0] = true; find[0] = true;
// 寻找到的代码片段 不包含分括号 // 寻找到的代码片段 不包含分括号
String name = group; String name = group.trim().toLowerCase();
List<String> codes = codeMap.containsKey(name) ? codeMap.get(name) : new ArrayList<>(); List<String> codes = codeMap.containsKey(name) ? codeMap.get(name) : new ArrayList<>();
for (String code : codes) { for (String code : codes) {
sb.append(" "); sb.append(" ");
......
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