作者 yangfu

机会更新修改

@@ -631,7 +631,7 @@ func ChanceUpdate(header *protocol.RequestHeader, request *protocol.ChanceUpdate @@ -631,7 +631,7 @@ func ChanceUpdate(header *protocol.RequestHeader, request *protocol.ChanceUpdate
631 } 631 }
632 //4.查询审核配置 632 //4.查询审核配置
633 //5.生成审核流 633 //5.生成审核流
634 - if auditFlows, err = GenAuditFlowProcess(header, chance.Id, chance.DepartmentId, template.Id, auditConfig); err != nil { 634 + if auditFlows, err = GenAuditFlowProcess(header, chance.Id, request.RelatedDepartment, template.Id, auditConfig); err != nil {
635 log.Error(err) 635 log.Error(err)
636 orm.Rollback() 636 orm.Rollback()
637 return 637 return