Commit 332c71b5 by 袁伟铭

优化代码

parent 76a46596
......@@ -163,7 +163,6 @@ public abstract class PagingUtils {
// 已设置在lambdaQuery的字段实体类中不应该重复设置
String[] whereFields = getWhereFields(lambdaQuery, clazz);
BeanUtil.copyProperties(reqVo, entity, CopyOptions.create().setIgnoreProperties(whereFields).setIgnoreNullValue(true).setOverride(false));
lambdaQuery.setEntity(entity);
Page<E> page = new Page<>(reqVo.getPage(), reqVo.getSize());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment