|
|
|
@@ -61,7 +61,7 @@ func (l *TaskDetailsLogic) TaskDetails(req *types.FId) (resp *types.TaskDetailsR |
|
|
|
for _, sub := range subList { |
|
|
|
clusterIds = append(clusterIds, sub.ClusterId) |
|
|
|
} |
|
|
|
err = l.svcCtx.DbEngin.Table("t_cluster").Where("id in ?", clusterIds).Scan(&cList).Error |
|
|
|
err = l.svcCtx.DbEngin.Table("t_cluster").Select("id,adapter_id,name,nickname,description,create_time").Where("id in ?", clusterIds).Scan(&cList).Error |
|
|
|
if err != nil { |
|
|
|
return resp, err |
|
|
|
} |
|
|
|
|