提交 d05b7da2 编写于 作者: J jmxd

删除无用代码

上级 6ccdf4eb
......@@ -122,8 +122,4 @@ public class MybatisParser {
Node item = node.getAttributes().getNamedItem(attributeKey);
return item != null ? item.getNodeValue() : null;
}
public static void main(String[] args) {
System.out.println(escapeXml("<where> <if test=\"111\"> and 1 < 2 and 1<6 and 2>#{666}</if></where>"));
}
}
......@@ -29,11 +29,6 @@ public class TrimSqlNode extends SqlNode {
*/
protected String suffixOverrides;
public static void main(String[] args) {
String sql = "11111?,";
System.out.println(sql.substring(0, sql.lastIndexOf(",")));
}
public void setPrefix(String prefix) {
this.prefix = prefix;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册