diff --git a/common/report/extract/extract.go b/common/report/extract/extract.go index 2d3e9df..aad19de 100644 --- a/common/report/extract/extract.go +++ b/common/report/extract/extract.go @@ -161,7 +161,7 @@ func (e *DailyExtractor) executeExtract(ctx context.Context, ec *model.ExtractCo for { // 添加分页 pagedSQL := fmt.Sprintf("%s LIMIT %d OFFSET %d", extractSQL, batchSize, offset) - args := append(whereArgs) + args := whereArgs rows, queryErr := gfdb.DB(ctx).GetAll(ctx, pagedSQL, args...) if queryErr != nil {