Skip to content

Commit

Permalink
fix type search on mysql model (#12875)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiyue1102 authored Nov 21, 2024
1 parent 93ea0dd commit c5e5a82
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 c5e5a82

Please sign in to comment.