mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-12-12 12:19:27 +08:00
🐛 条件构建去除分页排序字段
This commit is contained in:
parent
99e4bd7579
commit
3ac1240a59
@ -65,6 +65,8 @@ public class Condition {
|
||||
public static <T> QueryWrapper<T> getQueryWrapper(Map<String, Object> query, Class<T> clazz) {
|
||||
query.remove("current");
|
||||
query.remove("size");
|
||||
query.remove("ascs");
|
||||
query.remove("descs");
|
||||
QueryWrapper<T> qw = new QueryWrapper<>();
|
||||
qw.setEntity(BeanUtil.newInstance(clazz));
|
||||
SqlKeyword.buildCondition(query, qw);
|
||||
|
Loading…
Reference in New Issue
Block a user