cn.gtmap.estateplat.core.support.mybatis.mapper
类 Example
java.lang.Object
cn.gtmap.estateplat.core.support.mybatis.mapper.Example
public class Example
- extends Object
通用的Example查询对象
- 作者:
- liuzh
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
orderByClause
protected String orderByClause
distinct
protected boolean distinct
exists
protected boolean exists
oredCriteria
protected List<Example.Criteria> oredCriteria
entityClass
protected Class<?> entityClass
table
protected EntityHelper.EntityTable table
propertyMap
protected Map<String,EntityHelper.EntityColumn> propertyMap
Example
public Example(Class<?> entityClass)
- 默认exists为true
- 参数:
entityClass -
Example
public Example(Class<?> entityClass,
boolean exists)
- 带exists参数的构造方法
- 参数:
entityClass - exists - - true时,如果字段不存在就抛出异常,false时,如果不存在就不使用该字段的条件
getEntityClass
public Class<?> getEntityClass()
getOrderByClause
public String getOrderByClause()
setOrderByClause
public void setOrderByClause(String orderByClause)
isDistinct
public boolean isDistinct()
setDistinct
public void setDistinct(boolean distinct)
getOredCriteria
public List<Example.Criteria> getOredCriteria()
or
public void or(Example.Criteria criteria)
or
public Example.Criteria or()
createCriteria
public Example.Criteria createCriteria()
createCriteriaInternal
protected Example.Criteria createCriteriaInternal()
clear
public void clear()
Copyright © 2015–2022 cn.gtmap. All rights reserved.