|
@@ -39,28 +39,28 @@ func (l *SearchTableByModuleLogic) SearchTableByModule(req *types.SearchTableByM |
|
@@ -39,28 +39,28 @@ func (l *SearchTableByModuleLogic) SearchTableByModule(req *types.SearchTableByM |
39
|
}
|
39
|
}
|
40
|
result["导入模块"] = newList(list)
|
40
|
result["导入模块"] = newList(list)
|
41
|
}, func() {
|
41
|
}, func() {
|
42
|
- //list, err := l.svcCtx.ByteMetadataService.ObjectTableSearch(l.ctx, bytelib.ObjectTableSearchRequest{
|
|
|
43
|
- // Token: req.Token,
|
|
|
44
|
- // TableTypes: []string{bytelib.SchemaTable},
|
|
|
45
|
- // Module: bytelib.ModuleQuerySetCenter,
|
|
|
46
|
- // ReturnGroupItem: true,
|
|
|
47
|
- //})
|
|
|
48
|
- //if err != nil {
|
|
|
49
|
- // batchError.Add(err)
|
|
|
50
|
- //}
|
|
|
51
|
- //result["拆解模块"] = newList(list)
|
42
|
+ list, err := l.svcCtx.ByteMetadataService.ObjectTableSearch(l.ctx, bytelib.ObjectTableSearchRequest{
|
|
|
43
|
+ Token: req.Token,
|
|
|
44
|
+ TableTypes: []string{bytelib.SchemaTable},
|
|
|
45
|
+ Module: bytelib.ModuleQuerySetCenter,
|
|
|
46
|
+ ReturnGroupItem: true,
|
|
|
47
|
+ })
|
|
|
48
|
+ if err != nil {
|
|
|
49
|
+ batchError.Add(err)
|
|
|
50
|
+ }
|
|
|
51
|
+ result["拆解模块"] = newList(list)
|
52
|
}, func() {
|
52
|
}, func() {
|
53
|
- //list, err := l.svcCtx.ByteMetadataService.ObjectTableSearch(l.ctx, bytelib.ObjectTableSearchRequest{
|
|
|
54
|
- // Token: req.Token,
|
|
|
55
|
- // TableTypes: []string{bytelib.CalculateItem, bytelib.CalculateSet},
|
|
|
56
|
- // Module: bytelib.ModuleCalculateCenter,
|
|
|
57
|
- // ReturnGroupItem: true,
|
|
|
58
|
- // ExcludeTables: []int{0},
|
|
|
59
|
- //})
|
|
|
60
|
- //if err != nil {
|
|
|
61
|
- // batchError.Add(err)
|
|
|
62
|
- //}
|
|
|
63
|
- //result["计算模块"] = newList(list)
|
53
|
+ list, err := l.svcCtx.ByteMetadataService.ObjectTableSearch(l.ctx, bytelib.ObjectTableSearchRequest{
|
|
|
54
|
+ Token: req.Token,
|
|
|
55
|
+ TableTypes: []string{bytelib.CalculateItem, bytelib.CalculateSet},
|
|
|
56
|
+ Module: bytelib.ModuleCalculateCenter,
|
|
|
57
|
+ ReturnGroupItem: true,
|
|
|
58
|
+ ExcludeTables: []int{0},
|
|
|
59
|
+ })
|
|
|
60
|
+ if err != nil {
|
|
|
61
|
+ batchError.Add(err)
|
|
|
62
|
+ }
|
|
|
63
|
+ result["计算模块"] = newList(list)
|
64
|
})
|
64
|
})
|
65
|
if err = batchError.Err(); err != nil {
|
65
|
if err = batchError.Err(); err != nil {
|
66
|
logx.Error(err)
|
66
|
logx.Error(err)
|