From 6a66b51b8eedd9cf08978adb43acfca0acb016fc Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Sun, 19 Nov 2023 09:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B9=E6=B3=95=E5=90=8D?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/xyz/zhouxy/plusone/commons/sql/MyBatisSql.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/sql/MyBatisSql.java b/src/main/java/xyz/zhouxy/plusone/commons/sql/MyBatisSql.java index 73f680d..729d558 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/sql/MyBatisSql.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/sql/MyBatisSql.java @@ -26,14 +26,14 @@ public class MyBatisSql extends SQL { } 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 = "