Unverified Commit f0692faf authored by aiwenmo's avatar aiwenmo Committed by GitHub

[bugfix 370]避免因为特殊字符导致替换失败

[bugfix 370]避免因为特殊字符导致替换失败
parents ff90eb8a cb37d76e
......@@ -200,7 +200,8 @@ public final class SqlManager {
while (m.find()) {
String key = m.group(1);
String value = this.getSqlFragment(key);
m.appendReplacement(sb, value == null ? "" : value);
m.appendReplacement(sb, "");
sb.append(value == null ? "" : value);
}
m.appendTail(sb);
return sb.toString();
......
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