mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
test: FIND_IN_SET 的使用。
This commit is contained in:
parent
e0b5db1f3c
commit
06a68b19c4
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user