2024年5月19日发(作者:微软平板电脑surface pro8)
方法
idEq(Object value)
方法说明
构造与传入参数主键值相等的
查询条件
构造与指定属性相等的查询条
eq(String propertyName,Object value)
件
构造与指定属性不相等的查询
ne(String propertyName,Object value)
条件
构造对特定属性模糊查询的查
like(String propertyName,Object value)
询条件
like(Sting propertyName,String value,MatchMode 构造对特定属性模糊查询的查
matchMode) 询条件
ilike(String propertyName,String
与like相似,大小写敏感
value,MatchMode matchMode)
ilike(String propertyName,Object value)
gt(String propertyName,Object value)
lt(String propertyName,Object value)
le(String propertyName,Object value)
ge(String propertyName,Object value)
between(String propertyName,Object lo,Object hi)
in(String propertyName,Object[] values)
in(String propertyName,Collection values)
isNull(String propertyName)
isNotNull(String propertyName)
eqProperty(String
otherPropertyName)
neProperty(String
otherPropertyName)
ltProperty(String
otherPropertyName)
gtProperty(String
otherPropertyName)
propertyName,String
propertyName,String
与 like 相似,大小写敏感
构造“大于”查询条件
构造“小于”查询条件
构造“小于等于”查询条件
构造“大于等于”查询条件
构造“between”查询条件
构造“in”查询条件
构造“in”查询条件
对指定属性判断是否为空
对指定属性判定是否非空
判定两个属性是否相等
判定两个属性是否不等
propertyName,String 判定某属性值是否小于另一属
性值
propertyName,String 判定某属性值是否大于另一属
性值
geProperty(String
otherPropertyName)
propertyName,String 判定某属性值是否大于另一属
性值
将两个查询条件and连接起来
将两个查询条件or 连接起来
对查询条件取非
and(Criterion lhs,Criterion rhs)
or(Criterion lhs,Criterion rhs)
not(Criterion expression)
sqlRestriction(String sql,Object[] values,Type[]
通过SQL构建查询条件
types)
sqlRestriction(String sql,Object value,Type type)
conjunction()
disjunction()
allEq(Map preprtyNameValues)
isEmpty(String propertyName)
isNotEmpty(String propertyName)
sizeEq(String propertyName,int size)
sizeNe(String propertyName,int size)
sizeGt(String propertyName,int size)
sizeLt(String size)
sizeGe(String propertyName,int size)
sizeLe(String propertyName,int size)
通过SQL构建查询条件
将所有表达式用and连接起来
(A and B and C)
将所有表达式用or连接起来
(A or B or C)
判定是否所有指定属性和给定
值相等
判定属性是否为空
判定属性是否不为空
判定属性大小是否为指定值
判定集合属性大小是否不为指
定值
判定属性大小是否大于指定值
判定属性大小是否小于指定值
判定属性大小是否大于等于指
定值
判定属性大小是否小于等于指
定
发布者:admin,转转请注明出处:http://www.yc00.com/num/1716084208a2717308.html
评论列表(0条)