删除无用代码

This commit is contained in:
jmxd 2023-05-10 21:47:42 +08:00
parent 6ccdf4eb53
commit d05b7da2aa
2 changed files with 0 additions and 9 deletions

View File

@ -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>"));
}
}

View File

@ -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;
}