Browse Source

修复了流程终止依然显示进行中的bug

main
QM303176530 4 years ago
parent
commit
1151413182
  1. 13
      server/service/sys_workflow.go

13
server/service/sys_workflow.go

@ -382,7 +382,18 @@ func createNewWorkflowMove(tx *gorm.DB, oldWfm *model.WorkflowMove, targetNodeID
}
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:
newWfm = append(newWfm, model.WorkflowMove{
BusinessID: oldWfm.BusinessID,

Loading…
Cancel
Save