Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
开发团队
Flowable Engine
提交
f1d408d7
F
Flowable Engine
项目概览
开发团队
/
Flowable Engine
通知
9
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Flowable Engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f1d408d7
编写于
9月 29, 2017
作者:
T
Tijs Rademakers
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update mapping files with if checks for limitBefore and limitAfter
上级
69090f5d
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
16 addition
and
17 deletion
+16
-17
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/CaseInstance.xml
...rces/org/flowable/cmmn/db/mapping/entity/CaseInstance.xml
+3
-3
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/HistoricCaseInstance.xml
.../flowable/cmmn/db/mapping/entity/HistoricCaseInstance.xml
+4
-5
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/HistoricMilestoneInstance.xml
...able/cmmn/db/mapping/entity/HistoricMilestoneInstance.xml
+3
-3
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/MilestoneInstance.xml
...org/flowable/cmmn/db/mapping/entity/MilestoneInstance.xml
+3
-3
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/PlanItemInstance.xml
.../org/flowable/cmmn/db/mapping/entity/PlanItemInstance.xml
+3
-3
未找到文件。
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/CaseInstance.xml
浏览文件 @
f1d408d7
...
...
@@ -131,11 +131,11 @@
</select>
<select
id=
"selectCaseInstancesByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.runtime.CaseInstanceQueryImpl"
resultMap=
"caseInstanceResultMap"
>
${limitBefore}
select RES.*
${limitBetween}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBefore}
</if>
select RES.*
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBetween}
</if>
<include
refid=
"selectCaseInstancesByQueryCriteriaSql"
/>
${orderBy}
${limitAfter}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitAfter}
</if>
</select>
<select
id=
"selectCaseInstanceCountByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.runtime.CaseInstanceQueryImpl"
resultType=
"long"
>
...
...
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/HistoricCaseInstance.xml
浏览文件 @
f1d408d7
...
...
@@ -135,13 +135,12 @@
select * from ${prefix}ACT_CMMN_HI_CASE_INST where ID_ = #{id, jdbcType=VARCHAR}
</select>
<select
id=
"selectHistoricCaseInstancesByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.history.HistoricCaseInstanceQueryImpl"
resultMap=
"historicCaseInstanceResultMap"
>
${limitBefore}
select RES.* ${limitBetween}
<select
id=
"selectHistoricCaseInstancesByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.history.HistoricCaseInstanceQueryImpl"
resultMap=
"historicCaseInstanceResultMap"
>
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBefore}
</if>
select RES.*
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBetween}
</if>
<include
refid=
"selectHistoricCaseInstancesByQueryCriteriaSql"
/>
${orderBy}
${limitAfter}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitAfter}
</if>
</select>
<select
id=
"selectHistoricCaseInstanceCountByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.history.HistoricCaseInstanceQueryImpl"
...
...
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/HistoricMilestoneInstance.xml
浏览文件 @
f1d408d7
...
...
@@ -80,11 +80,11 @@
</select>
<select
id=
"selectHistoricMilestoneInstancesByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.history.HistoricMilestoneInstanceQueryImpl"
resultMap=
"historicMileStoneInstanceResultMap"
>
${limitBefore}
select RES.*
${limitBetween}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBefore}
</if>
select RES.*
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBetween}
</if>
<include
refid=
"selectHistoricMilestoneInstancesByQueryCriteriaSql"
/>
${orderBy}
${limitAfter}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitAfter}
</if>
</select>
<select
id=
"selectHistoricMilestoneInstanceCountByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.history.HistoricMilestoneInstanceQueryImpl"
resultType=
"long"
>
...
...
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/MilestoneInstance.xml
浏览文件 @
f1d408d7
...
...
@@ -77,11 +77,11 @@
</select>
<select
id=
"selectMilestoneInstancesByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.runtime.MilestoneInstanceQueryImpl"
resultMap=
"mileStoneInstanceResultMap"
>
${limitBefore}
select RES.*
${limitBetween}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBefore}
</if>
select RES.*
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBetween}
</if>
<include
refid=
"selectMilestoneInstancesByQueryCriteriaSql"
/>
${orderBy}
${limitAfter}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitAfter}
</if>
</select>
<select
id=
"selectMilestoneInstanceCountByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.runtime.MilestoneInstanceQueryImpl"
resultType=
"long"
>
...
...
modules/flowable-cmmn-engine/src/main/resources/org/flowable/cmmn/db/mapping/entity/PlanItemInstance.xml
浏览文件 @
f1d408d7
...
...
@@ -156,11 +156,11 @@
</select>
<select
id=
"selectPlanItemInstancesByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.runtime.PlanItemInstanceQueryImpl"
resultMap=
"planItemInstanceResultMap"
>
${limitBefore}
select RES.*
${limitBetween}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBefore}
</if>
select RES.*
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitBetween}
</if>
<include
refid=
"selectPlanItemInstancesByQueryCriteriaSql"
/>
${orderBy}
${limitAfter}
<if
test=
"firstResult != null and firstResult >= 0"
>
${limitAfter}
</if>
</select>
<select
id=
"selectPlanItemInstanceCountByQueryCriteria"
parameterType=
"org.flowable.cmmn.engine.impl.runtime.PlanItemInstanceQueryImpl"
resultType=
"long"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录