Explorar o código

fix:章节类型

Roc hai 10 meses
pai
achega
7040c474ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/report_v2.go

+ 1 - 1
services/report_v2.go

@@ -437,7 +437,7 @@ func getAddChapter(reportInfo *models.Report, minClassifyId, inheritReportId int
 		} else {
 			chapterItem.AddType = 1
 			chapterItem.Title = typeItem.ReportChapterTypeName
-			//chapterItem.ReportType = reportType
+			chapterItem.ReportType = typeItem.ResearchType
 			chapterItem.ClassifyIdFirst = minClassifyId
 			chapterItem.ClassifyNameFirst = minClassifyName
 			chapterItem.TypeId = typeItem.ReportChapterTypeId