作者 庄敏学

数据存储

... ... @@ -2,7 +2,6 @@ package table
import (
"context"
"fmt"
"github.com/jinzhu/copier"
"github.com/samber/lo"
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-bchart/cmd/chart-server/interanl/pkg/domain"
... ... @@ -108,7 +107,6 @@ func (l *SearchTableFieldOptionalValuesLogic) getLocal(req *types.SearchTableFie
_, list, err := l.svcCtx.ObjectTableDataRepository.Find(l.ctx, conn, req.ObjectId, &domain.ObjectTableDataQuery{
Conditions: conditions,
})
fmt.Println(list)
if err != nil {
return nil, xerr.NewErrMsg("查询表数据失败")
}
... ... @@ -118,7 +116,7 @@ func (l *SearchTableFieldOptionalValuesLogic) getLocal(req *types.SearchTableFie
}
if len(list) > 0 {
lo.ForEach(list, func(item map[string]interface{}, index int) {
})
}
return resp, nil
... ...