@@ -20,6 +20,11 @@ public class FlowExampleVo extends FlowExample {
private String createUserName;
/**
+ * 当前处理人名称
+ */
+ private String handleUserName;
+
+ /**
* 流程key
*/
private String flowKey;
@@ -400,6 +400,9 @@ public class FlowExampleServiceImpl extends ServiceImpl<FlowExampleMapper, FlowE
// 赋值流程发起人名称
UserUtil.assignmentNickName(records, BasePo::getCreateUser, FlowExampleVo::setCreateUserName);
+ // 赋值流程当前审批人名称
+ UserUtil.assignmentNickName(records, FlowExample::getHandleUserId, FlowExampleVo::setHandleUserName);
return page;
}
@@ -11,7 +11,8 @@
fe.create_user,
fe.create_time,
fe.business_id,
- fe.version
+ fe.version,
+ fe.handle_user_id
from flow_info fi
inner join flow_definition fd on fd.flow_info_id = fi.id
inner join flow_example fe on fe.definition_id = fd.id