diff --git a/controller/report.go b/controller/report.go index e6b070a..315bf79 100644 --- a/controller/report.go +++ b/controller/report.go @@ -166,6 +166,7 @@ func fillReportSummary(c *gin.Context) { return } copier.Copy(originSummary, formData) + originSummary.ReportId = requestReportId err = service.ReportService.UpdateReportSummary(originSummary) if err != nil { result.Error(http.StatusInternalServerError, err.Error())