修改方法名。

dev
ZhouXY108 2023-11-19 09:38:53 +08:00
parent cc10f11b37
commit 6a66b51b8e
1 changed files with 3 additions and 3 deletions

View File

@ -26,14 +26,14 @@ public class MyBatisSql extends SQL<MyBatisSql> {
}
public static String IN(String col, String paramName) {
return " " + col + " IN" + buildQuestionsList(col, paramName);
return " " + col + " IN" + buildForeach(col, paramName);
}
public static String NOT_IN(String col, String paramName) {
return col + " NOT IN" + buildQuestionsList(col, paramName);
return col + " NOT IN" + buildForeach(col, paramName);
}
private static String buildQuestionsList(String col, String paramName) {
private static String buildForeach(String col, String paramName) {
final String format = "<foreach" +
" item=\"%s\"" +
" index=\"index\"" +