修复了流程终止依然显示进行中的bug
This commit is contained in:
parent
36627e4ca5
commit
e102f820c1
|
@ -382,7 +382,18 @@ func createNewWorkflowMove(tx *gorm.DB, oldWfm *model.WorkflowMove, targetNodeID
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil, newWfm
|
return nil, newWfm
|
||||||
|
case constant.END:
|
||||||
|
newWfm = append(newWfm, model.WorkflowMove{
|
||||||
|
BusinessID: oldWfm.BusinessID,
|
||||||
|
BusinessType: oldWfm.BusinessType,
|
||||||
|
PromoterID: oldWfm.PromoterID,
|
||||||
|
OperatorID: oldWfm.OperatorID,
|
||||||
|
WorkflowNodeID: targetNodeID,
|
||||||
|
WorkflowProcessID: oldWfm.WorkflowProcessID,
|
||||||
|
Param: "",
|
||||||
|
Action: "",
|
||||||
|
IsActive: false})
|
||||||
|
return nil, newWfm
|
||||||
default:
|
default:
|
||||||
newWfm = append(newWfm, model.WorkflowMove{
|
newWfm = append(newWfm, model.WorkflowMove{
|
||||||
BusinessID: oldWfm.BusinessID,
|
BusinessID: oldWfm.BusinessID,
|
||||||
|
|
Loading…
Reference in New Issue