删除无用代码
This commit is contained in:
parent
6ccdf4eb53
commit
d05b7da2aa
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user