Skip to content

Commit

Permalink
fix type search on mysql model
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiyue1102 committed Nov 21, 2024
1 parent e2d44f2 commit 1a05d97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public MapperResult findConfigInfoLike4PageFetchRows(MapperContext context) {
where.and().like("content", content);
}
if (!ArrayUtils.isEmpty(types)) {
where.in("type", types);
where.and().in("type", types);
}
where.limit(context.getStartRow(), context.getPageSize());
return where.build();
Expand Down

0 comments on commit 1a05d97

Please sign in to comment.