Commit 10839a10 authored by 周健威's avatar 周健威

添加绿美阳西信息产品接口

parent 6052b377
...@@ -250,7 +250,8 @@ public abstract class BaseBiz<M extends Mapper<T>, T> { ...@@ -250,7 +250,8 @@ public abstract class BaseBiz<M extends Mapper<T>, T> {
} }
Field isDelField = ReflectUtil.getField(clazz, "isDel"); Field isDelField = ReflectUtil.getField(clazz, "isDel");
if(null != isDelField) { if(null != isDelField) {
example.createCriteria().andEqualTo("isDel", 0); Example.Criteria criteria = example.createCriteria();
criteria.andEqualTo("isDel", 0);
} }
return PageDataVO.pageInfo(query, ()-> mapper.selectByExample(example)); return PageDataVO.pageInfo(query, ()-> mapper.selectByExample(example));
} }
......
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