Explorar o código

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

Roc hai 4 días
pai
achega
23ce7a6ca7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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