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)