正在显示
1 个修改的文件
包含
1 行增加
和
3 行删除
@@ -2,7 +2,6 @@ package table | @@ -2,7 +2,6 @@ package table | ||
2 | 2 | ||
3 | import ( | 3 | import ( |
4 | "context" | 4 | "context" |
5 | - "fmt" | ||
6 | "github.com/jinzhu/copier" | 5 | "github.com/jinzhu/copier" |
7 | "github.com/samber/lo" | 6 | "github.com/samber/lo" |
8 | "gitlab.fjmaimaimai.com/allied-creation/sumifcc-bchart/cmd/chart-server/interanl/pkg/domain" | 7 | "gitlab.fjmaimaimai.com/allied-creation/sumifcc-bchart/cmd/chart-server/interanl/pkg/domain" |
@@ -108,7 +107,6 @@ func (l *SearchTableFieldOptionalValuesLogic) getLocal(req *types.SearchTableFie | @@ -108,7 +107,6 @@ func (l *SearchTableFieldOptionalValuesLogic) getLocal(req *types.SearchTableFie | ||
108 | _, list, err := l.svcCtx.ObjectTableDataRepository.Find(l.ctx, conn, req.ObjectId, &domain.ObjectTableDataQuery{ | 107 | _, list, err := l.svcCtx.ObjectTableDataRepository.Find(l.ctx, conn, req.ObjectId, &domain.ObjectTableDataQuery{ |
109 | Conditions: conditions, | 108 | Conditions: conditions, |
110 | }) | 109 | }) |
111 | - fmt.Println(list) | ||
112 | if err != nil { | 110 | if err != nil { |
113 | return nil, xerr.NewErrMsg("查询表数据失败") | 111 | return nil, xerr.NewErrMsg("查询表数据失败") |
114 | } | 112 | } |
@@ -118,7 +116,7 @@ func (l *SearchTableFieldOptionalValuesLogic) getLocal(req *types.SearchTableFie | @@ -118,7 +116,7 @@ func (l *SearchTableFieldOptionalValuesLogic) getLocal(req *types.SearchTableFie | ||
118 | } | 116 | } |
119 | if len(list) > 0 { | 117 | if len(list) > 0 { |
120 | lo.ForEach(list, func(item map[string]interface{}, index int) { | 118 | lo.ForEach(list, func(item map[string]interface{}, index int) { |
121 | - | 119 | + |
122 | }) | 120 | }) |
123 | } | 121 | } |
124 | return resp, nil | 122 | return resp, nil |
-
请 注册 或 登录 后发表评论