From 56217b633f00bc1ac8588f6c74e4715e963fdc11 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Sun, 25 Jun 2023 09:25:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zhouxy/plusone/commons/util/SimpleJdbcTemplateTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/xyz/zhouxy/plusone/commons/util/SimpleJdbcTemplateTests.java b/src/test/java/xyz/zhouxy/plusone/commons/util/SimpleJdbcTemplateTests.java index 328e7d8..02a87ab 100644 --- a/src/test/java/xyz/zhouxy/plusone/commons/util/SimpleJdbcTemplateTests.java +++ b/src/test/java/xyz/zhouxy/plusone/commons/util/SimpleJdbcTemplateTests.java @@ -2,7 +2,7 @@ package xyz.zhouxy.plusone.commons.util; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; -import static xyz.zhouxy.plusone.commons.jdbc.JdbcSql.NOT_IN; +import static xyz.zhouxy.plusone.commons.jdbc.JdbcSql.IN; import java.sql.Connection; import java.sql.SQLException; @@ -53,7 +53,7 @@ class SimpleJdbcTemplateTests { String sql = SQL.newJdbcSql() .SELECT("*") .FROM("test_table") - .WHERE(NOT_IN("id", params)) + .WHERE(IN("id", params)) .toString(); log.info(sql); List rs = SimpleJdbcTemplate.connect(conn)