修改测试用例。

feature/net-util
ZhouXY108 2023-06-25 09:25:53 +08:00
parent cdf9a65121
commit 56217b633f
1 changed files with 2 additions and 2 deletions

View File

@ -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.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull; 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.Connection;
import java.sql.SQLException; import java.sql.SQLException;
@ -53,7 +53,7 @@ class SimpleJdbcTemplateTests {
String sql = SQL.newJdbcSql() String sql = SQL.newJdbcSql()
.SELECT("*") .SELECT("*")
.FROM("test_table") .FROM("test_table")
.WHERE(NOT_IN("id", params)) .WHERE(IN("id", params))
.toString(); .toString();
log.info(sql); log.info(sql);
List<DbRecord> rs = SimpleJdbcTemplate.connect(conn) List<DbRecord> rs = SimpleJdbcTemplate.connect(conn)