Commit cd38a860 authored by 周健威's avatar 周健威

修改租车 接口

parent 3d2a68df
......@@ -251,6 +251,7 @@ public abstract class BaseBiz<M extends Mapper<T>, T> {
Example example = new Example(clazz);
Example.Criteria criteria=example.createCriteria();
if(null != entity) {
Map<String, Object> map = BeanUtil.beanToMap(entity);
if(map.entrySet().size()>0) {
if (criteria==null){
......@@ -262,6 +263,7 @@ public abstract class BaseBiz<M extends Mapper<T>, T> {
}
}
}
}
if (checkFieldName(clazz,"isDel")){
criteria.andEqualTo("isDel",0);
......
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