作者 yangfu

fix: sync data

... ... @@ -98,9 +98,9 @@ func (ptr *QuerySetService) Update(ctx *domain.Context, querySetId int, queryCom
if err != nil {
return qs, err
}
defer func() {
AsyncEvent(domain.NewEventTable(ctx, domain.QuerySetUpdateEvent).WithQuerySet(qs))
}()
//defer func() {
// AsyncEvent(domain.NewEventTable(ctx, domain.QuerySetUpdateEvent).WithQuerySet(qs))
//}()
if qs.Type == domain.SchemaTable.ToString() || qs.Type == domain.SubProcessTable.ToString() {
return qs, ptr.UpdateDefault(ctx, qs, queryComponents)
}
... ...