Skip to content

Commit

Permalink
fix: instance audit plan qquery fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iwanghc committed Aug 2, 2024
1 parent 2145c64 commit ff1037a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sqle/model/instance_audit_plan_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ var instanceAuditPlanBodyTpl = `
FROM
instance_audit_plans
LEFT JOIN
(SELECT instance_audit_plan_id, GROUP_CONCAT(audit_plans_v2.id) AS audit_plan_ids
(SELECT instance_audit_plan_id,
GROUP_CONCAT(audit_plans_v2.id) AS audit_plan_ids,
GROUP_CONCAT(audit_plans_v2.type) AS types
FROM audit_plans_v2
WHERE audit_plans_v2.deleted_at IS NULL
GROUP BY instance_audit_plan_id) AS audit_plans
Expand Down

0 comments on commit ff1037a

Please sign in to comment.