07-21-2011 10:33 AM
repositoryService.createProcessDefinitionQuery().processDefinitionCategoryLike(..)
<sql id="selectProcessDefinitionsByQueryCriteriaSql">
from ACT_RE_PROCDEF PD
<where>
<if test="id != null">
PD.ID_ = #{id}
</if>
<if test="category != null">
PD.CATEGORY_ = #{category}
</if>
<if test="name != null">
PD.NAME_ = #{name}
</if>
<if test="nameLike != null">
PD.NAME_ like #{nameLike}
</if>
<if test="key != null">
and PD.KEY_ = #{key}
</if>
<if test="keyLike != null">
and PD.KEY_ like #{keyLike}
</if>
<if test="resourceName != null">
and PD.RESOURCE_NAME_ = #{resourceName}
</if>
<if test="resourceNameLike != null">
and PD.RESOURCE_NAME_ like #{resourceNameLike}
</if>
<if test="version != null">
and PD.VERSION_ = #{version}
</if>
<if test="deploymentId != null">
and PD.DEPLOYMENT_ID_ = #{deploymentId}
</if>
<if test="latest">
and PD.VERSION_ = (select max(VERSION_) from ACT_RE_PROCDEF where KEY_ = PD.KEY_)
</if>
</where>
</sql>
07-22-2011 09:32 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.