...
|
...
|
@@ -311,9 +311,6 @@ func (ptr *QuerySetService) PreviewPrepare(ctx *domain.Context, querySetId int, |
|
|
var table *domain.Table = NewCopyTable(domain.TableType(domain.TemporaryTable), querySet.Name, domain.RangeFields(fields, domain.ChangeFieldFlag), 0).
|
|
|
WithContext(ctx).
|
|
|
WithPrefix(strings.ToLower(string(domain.TemporaryTable)))
|
|
|
if querySet.Type == domain.CalculateTable.ToString() {
|
|
|
table.PK = nil
|
|
|
}
|
|
|
// 循环依赖判断
|
|
|
if err = ptr.validDependentCircle(ctx, querySet, queryComponents); err != nil {
|
|
|
return nil, err
|
...
|
...
|
|