|
@@ -147,12 +147,12 @@ func (ptr *ByteCoreService) FormulasGenerate(param domain.ReqFormulasGenerate) ( |
|
@@ -147,12 +147,12 @@ func (ptr *ByteCoreService) FormulasGenerate(param domain.ReqFormulasGenerate) ( |
147
|
// }
|
147
|
// }
|
148
|
// return &domain.DataFormulasGenerate{}, nil
|
148
|
// return &domain.DataFormulasGenerate{}, nil
|
149
|
//}
|
149
|
//}
|
150
|
- if param.QuerySet.Type == domain.CalculateItem.ToString() {
|
|
|
151
|
- if param.QuerySet.QueryComponents[0].Formula.ExprMode != 0 {
|
|
|
152
|
- err := ptr.ExcelExprCalcPersistence(param.QuerySet.QueryComponents[0].Formula, param, true)
|
|
|
153
|
- return &domain.DataFormulasGenerate{}, err
|
|
|
154
|
- }
|
|
|
155
|
- }
|
150
|
+ //if param.QuerySet.Type == domain.CalculateItem.ToString() {
|
|
|
151
|
+ // if param.QuerySet.QueryComponents[0].Formula.ExprMode != 0 {
|
|
|
152
|
+ // err := ptr.ExcelExprCalcPersistence(param.QuerySet.QueryComponents[0].Formula, param, true)
|
|
|
153
|
+ // return &domain.DataFormulasGenerate{}, err
|
|
|
154
|
+ // }
|
|
|
155
|
+ //}
|
156
|
if param.QuerySet.Type == domain.CalculateSet.ToString() {
|
156
|
if param.QuerySet.Type == domain.CalculateSet.ToString() {
|
157
|
_, err := param.QuerySetService.(*QuerySetService).LoadCalculateSetData(param.Context.(*domain.Context), param.QuerySet, param.QueryComponents)
|
157
|
_, err := param.QuerySetService.(*QuerySetService).LoadCalculateSetData(param.Context.(*domain.Context), param.QuerySet, param.QueryComponents)
|
158
|
if err != nil {
|
158
|
if err != nil {
|