rename likeExample to likesExample
This commit is contained in:
@ -69,9 +69,9 @@ public class SQLProvider {
|
||||
.collect(Collectors.joining(" AND "));
|
||||
sql.append(" AND ").append(conditionClause);
|
||||
}
|
||||
if (TimiJava.isNotEmpty(page.getLikeExample())) {
|
||||
if (TimiJava.isNotEmpty(page.getLikesExample())) {
|
||||
// 模糊查询
|
||||
Object obj = page.getLikeExample();
|
||||
Object obj = page.getLikesExample();
|
||||
EntityMeta metaExample = getEntityMeta(obj.getClass());
|
||||
String conditionClause = metaExample.fieldColumnList.stream()
|
||||
.filter(fc -> fc.isNotNull(obj))
|
||||
@ -127,9 +127,9 @@ public class SQLProvider {
|
||||
.collect(Collectors.joining(" AND "));
|
||||
sql.append(" AND ").append(conditionClause);
|
||||
}
|
||||
if (TimiJava.isNotEmpty(page.getLikeExample())) {
|
||||
if (TimiJava.isNotEmpty(page.getLikesExample())) {
|
||||
// 模糊查询
|
||||
Object obj = page.getLikeExample();
|
||||
Object obj = page.getLikesExample();
|
||||
EntityMeta metaExample = getEntityMeta(obj.getClass());
|
||||
String conditionClause = metaExample.fieldColumnList.stream()
|
||||
.filter(fc -> fc.isNotNull(obj))
|
||||
|
||||
Reference in New Issue
Block a user