|
@@ -93,8 +93,8 @@ func AddReportAndChapter(reportItem *Report, reportFreeLayoutList []*report.Repo
|
|
|
}
|
|
|
|
|
|
// 新增报告章节分页内容
|
|
|
- if len(addReportChapter.ReportFreeLayoutList) > 0 {
|
|
|
- reportChapterFreeLayoutList := addReportChapter.ReportFreeLayoutList
|
|
|
+ if len(addReportChapter.ReportChapterFreeLayoutList) > 0 {
|
|
|
+ reportChapterFreeLayoutList := addReportChapter.ReportChapterFreeLayoutList
|
|
|
for _, reportChapterFreeLayout := range reportChapterFreeLayoutList {
|
|
|
reportChapterFreeLayout.ReportId = int(reportId)
|
|
|
reportChapterFreeLayout.ReportChapterId = chapterItem.ReportChapterId
|