!290 FIND_IN_SET 的使用

Merge pull request !290 from 王帅/main
This commit is contained in:
Michael Yang 2023-08-17 01:48:45 +00:00 committed by Gitee
commit 93e0b81c12
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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);