作者 yangfu

机会更新修改

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