提交 46c537e3 编写于 作者: sq3536's avatar sq3536

wf统一待办

上级 8a6462ff
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<select id="searchMyTaskCnt" parameterType="cn.ibizlab.core.workflow.filter.WFTaskSearchContext" resultType="cn.ibizlab.core.workflow.domain.WFProcessNode"> <select id="searchMyTaskCnt" parameterType="cn.ibizlab.core.workflow.filter.WFTaskSearchContext" resultType="cn.ibizlab.core.workflow.domain.WFProcessNode">
select t.ProcessDefinitionKey,t.ProcessDefinitionName, select t.ProcessDefinitionKey,max(t.ProcessDefinitionName) as ProcessDefinitionName,
t.TaskDefinitionKey as UserTaskId,t.Name as UserTaskName,max(t.version) as version ,count(1) as Cnt from t.TaskDefinitionKey as UserTaskId,t.Name as UserTaskName,max(t.version) as version ,count(1) as Cnt from
(select t1.TaskId as Id, t1.DefinitionId as ProcessDefinitionId, t1.DefinitionName as ProcessDefinitionName, t1.DefinitionKey as ProcessDefinitionKey, t1.InstanceId as ProcessInstanceId, (select t1.TaskId as Id, t1.DefinitionId as ProcessDefinitionId, t1.DefinitionName as ProcessDefinitionName, t1.DefinitionKey as ProcessDefinitionKey, t1.InstanceId as ProcessInstanceId,
t1.TaskName as Name, t1.TaskDefinitionKey, t1.BusinessKey as ProcessInstanceBusinessKey, t1.Description, t1.CreateTime,version from t1.TaskName as Name, t1.TaskDefinitionKey, t1.BusinessKey as ProcessInstanceBusinessKey, t1.Description, t1.CreateTime,version from
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<where><if test="ew!=null and ew.sqlSegment!=null and !ew.emptyOfWhere">${ew.sqlSegment}</if></where> <where><if test="ew!=null and ew.sqlSegment!=null and !ew.emptyOfWhere">${ew.sqlSegment}</if></where>
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">${ew.sqlSegment}</if> <if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">${ew.sqlSegment}</if>
) t ) t
group by t.ProcessDefinitionKey,t.ProcessDefinitionName,t.TaskDefinitionKey,t.Name order by t.ProcessDefinitionKey, t.TaskDefinitionKey group by t.ProcessDefinitionKey,t.TaskDefinitionKey,t.Name order by t.ProcessDefinitionKey, t.TaskDefinitionKey
</select> </select>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册