fix(report):修正保存报表概览信息的时候无法获取到报表ID的问题。
This commit is contained in:
parent
e9a122fcda
commit
e150a22174
|
@ -166,6 +166,7 @@ func fillReportSummary(c *gin.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
copier.Copy(originSummary, formData)
|
copier.Copy(originSummary, formData)
|
||||||
|
originSummary.ReportId = requestReportId
|
||||||
err = service.ReportService.UpdateReportSummary(originSummary)
|
err = service.ReportService.UpdateReportSummary(originSummary)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
result.Error(http.StatusInternalServerError, err.Error())
|
result.Error(http.StatusInternalServerError, err.Error())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user