Browse Source

fix

Signed-off-by: jagger <cossjie@foxmail.com>
pull/465/head
jagger 7 months ago
parent
commit
8dd14a6421
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/logic/core/taskdetailslogic.go

+ 1
- 1
internal/logic/core/taskdetailslogic.go View File

@@ -61,7 +61,7 @@ func (l *TaskDetailsLogic) TaskDetails(req *types.FId) (resp *types.TaskDetailsR
for _, sub := range subList { for _, sub := range subList {
clusterIds = append(clusterIds, sub.ClusterId) 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 { if err != nil {
return resp, err return resp, err
} }


Loading…
Cancel
Save