Skip to content

Commit

Permalink
add a split line between report info and sql audit info
Browse files Browse the repository at this point in the history
  • Loading branch information
hasa1K committed Sep 26, 2023
1 parent 0db7ff7 commit bca727c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sqle/api/controller/v1/audit_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -1499,6 +1499,12 @@ func ExportAuditPlanReportV1(c echo.Context) error {
return controller.JSONBaseErrorReq(c, err)
}

// Add a split line between report information and sql audit information
err = csvWriter.Write([]string{})
if err != nil {
return controller.JSONBaseErrorReq(c, err)
}

err = csvWriter.Write([]string{"编号", "SQL", "审核结果"})
if err != nil {
return controller.JSONBaseErrorReq(c, err)
Expand Down

0 comments on commit bca727c

Please sign in to comment.