智者不为愚者谋,勇者不为怯者死。这篇文章主要讲述14.flowable 已办任务列表查询相关的知识,希望能为你提供帮助。
?
1、演示
文章图片
2、代码这里也是通过sql来查询的
SELECT DISTINCT
t1.ID_ AS taskId,
t1.NAME_ AS taskName,
t2.FIRST_ AS approver,
t2.ID_ AS approverId,
t3.NAME_ AS formName,
t3.BUSINESS_KEY_ AS businessKey,
t3.PROC_INST_ID_ AS processInstanceId,
t3.TENANT_ID_ as systemSn,
t1.START_TIME_ AS startTime,
t1.END_TIME_ as endTime
FROM
act_hi_taskinst t1
LEFT JOIN act_id_user t2 ON t1.ASSIGNEE_ = t2.ID_
LEFT JOIN act_hi_procinst t3 ON t1.PROC_INST_ID_ = t3.PROC_INST_ID_
WHERE
t1.END_TIME_ is not null
AND t1.ASSIGNEE_ = #userCode
【14.flowable 已办任务列表查询】
推荐阅读
- 03.flowable 流程模板部署
- flowable 设置流程跟踪高亮线的颜色
- #yyds干货盘点#算法给小码农链式二叉树-----一根草可斩星辰
- JDBC与数据库连接池#yyds干货盘点#
- flowable 任务监听器
- flowable中动态调用dubbo接口
- #yyds干货盘点#equals方法通用约定
- Springboot自动装配详解#yyds干货盘点#
- flowable设计器自定义自己的人员选择器