-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
流程图高亮显示bug #15
Comments
您好,我无法亲自回复您的邮件。将尽快给您回复。
|
你可以打断点看到所有的线,把跟节点链接的线打上颜色
| |
张孟如
|
|
***@***.***
|
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 发送日期 | 2022年11月1日 15:39 |
| 收件人 | ***@***.***> |
| 抄送人 | ***@***.***> |
| 主题 | [zhangmrit/ruoyi-cloud] 流程图高亮显示bug (Issue #15) |
// 对历史流程节点进行遍历
// 获取当前历史节点
HistoricActivityInstance currentActivityInstance = historicActivityInstances.get(i);
// 得到节点定义的详细信息
ActivityImpl activityImpl = processDefinitionEntity.findActivity(currentActivityInstance.getActivityId());
// 用以保存后需开始时间相同的节点
List sameStartTimeNodes = new ArrayList<>();
ActivityImpl sameActivityImpl1 = processDefinitionEntity
.findActivity(historicActivityInstances.get(i + 1).getActivityId());
// 将后面第一个节点放在时间相同节点的集合里
sameStartTimeNodes.add(sameActivityImpl1);
/**
* 遍历outgoingFlows并找到已流转的 满足如下条件认为已流转:
* 1.当前节点是并行网关或兼容网关,则通过outgoingFlows能够在历史活动中找到的全部节点均为已流转
* 2.当前节点是以上两种类型之外的,通过outgoingFlows查找到的时间最早的流转节点视为有效流转
**
(第2点有问题,有过驳回的,会只绘制驳回的流程线,通过走向下一级的流程线没有高亮显示)
这个怎么解决 求教
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
现在是 我驳回的线条亮但通过的线条不亮 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// 对历史流程节点进行遍历
// 获取当前历史节点
HistoricActivityInstance currentActivityInstance = historicActivityInstances.get(i);
// 得到节点定义的详细信息
ActivityImpl activityImpl = processDefinitionEntity.findActivity(currentActivityInstance.getActivityId());
// 用以保存后需开始时间相同的节点
List sameStartTimeNodes = new ArrayList<>();
ActivityImpl sameActivityImpl1 = processDefinitionEntity
.findActivity(historicActivityInstances.get(i + 1).getActivityId());
// 将后面第一个节点放在时间相同节点的集合里
sameStartTimeNodes.add(sameActivityImpl1);
/**
* 遍历outgoingFlows并找到已流转的 满足如下条件认为已流转:
* 1.当前节点是并行网关或兼容网关,则通过outgoingFlows能够在历史活动中找到的全部节点均为已流转
* 2.当前节点是以上两种类型之外的,通过outgoingFlows查找到的时间最早的流转节点视为有效流转
**
这个怎么解决 求教
The text was updated successfully, but these errors were encountered: