流程bug

This commit is contained in:
2023-07-04 17:33:20 +08:00
parent 6310748276
commit 3969f09b31
3 changed files with 11 additions and 1 deletions

View File

@@ -418,6 +418,13 @@ public class FlowTaskOtherUtil
mapRule = GetMapRule(approversPro.assignList, flowTaskParamter.flowTaskNodeEntity.NodeCode);
}
var data =await _runService.GetFlowFormDataDetails(thisFormId, flowTaskParamter.flowTaskEntity.Id);
if (!data.ContainsKey("flowId"))//modifyby zhoukeda 20230704
{
if (((Dictionary<string, object>)flowTaskParamter.formData).TryGetValue("flowId",out var value))
{
data.Add("flowId",value);
}
}
var nextFormData = await _runService.SaveDataToDataByFId(thisFormId, nextFormId, mapRule, data);
nextNodeData[item.NodeCode] = nextFormData;
}