|
@@ -741,6 +741,7 @@ public class WorkflowApplication : IWorkflowApplication, IScopeDependency
|
|
|
var summaryTargetStep = workflow.Steps.FirstOrDefault(d =>
|
|
|
d.StepType == EStepType.Normal &&
|
|
|
d.Code == stepDefine.SummaryTargetCode &&
|
|
|
+ d.Status == EWorkflowStepStatus.Handled &&
|
|
|
d.IsOrigin);
|
|
|
if (summaryTargetStep is null)
|
|
|
throw UserFriendlyException.SameMessage("未查询到汇总对象节点");
|
|
@@ -753,7 +754,11 @@ public class WorkflowApplication : IWorkflowApplication, IScopeDependency
|
|
|
Key = summaryTargetStep.HandlerId,
|
|
|
Value = summaryTargetStep.HandlerName,
|
|
|
UserId = summaryTargetStep.HandlerId,
|
|
|
- Username = summaryTargetStep.HandlerName
|
|
|
+ Username = summaryTargetStep.HandlerName,
|
|
|
+ OrgId = summaryTargetStep.HandlerOrgId,
|
|
|
+ OrgName = summaryTargetStep.HandlerOrgName,
|
|
|
+ RoleId = summaryTargetStep.RoleId,
|
|
|
+ RoleName = summaryTargetStep.RoleName
|
|
|
};
|
|
|
|
|
|
nextStepOption = new NextStepOption
|