From 06a68b19c42fee0157f2d6b189c1992112e624c7 Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Thu, 17 Aug 2023 08:59:40 +0800 Subject: [PATCH] =?UTF-8?q?test:=20FIND=5FIN=5FSET=20=E7=9A=84=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/java/com/mybatisflex/coretest/FunctionSqlTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mybatis-flex-core/src/test/java/com/mybatisflex/coretest/FunctionSqlTest.java b/mybatis-flex-core/src/test/java/com/mybatisflex/coretest/FunctionSqlTest.java index c6186c46..3e0c1e46 100644 --- a/mybatis-flex-core/src/test/java/com/mybatisflex/coretest/FunctionSqlTest.java +++ b/mybatis-flex-core/src/test/java/com/mybatisflex/coretest/FunctionSqlTest.java @@ -68,8 +68,7 @@ public class FunctionSqlTest { String sql = QueryWrapper.create() .select() .from(ACCOUNT) -// .where("FIND_IN_SET(?, `id`)", 100) - .where(findInSet(number(100), ACCOUNT.ID).eq(true)) + .where(findInSet(number(100), ACCOUNT.ID).gt(0)) .toSQL(); System.out.println(sql);