作者 yangfu

fix: sync data

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