瀏覽代碼

Merge remote-tracking branch 'origin/feature/eta_2.5.4_report_free_layout' into debug

Roc 5 天之前
父節點
當前提交
23ce7a6ca7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      models/report_v2.go

+ 2 - 2
models/report_v2.go

@@ -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