소스 검색

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