Browse Source

fix:pdf报告品种筛选

zqbao 6 months ago
parent
commit
2a495406c7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      controllers/report.go

+ 4 - 0
controllers/report.go

@@ -253,6 +253,10 @@ func (this *ReportController) PdfList() {
 	secondClassifyIds := make([]int, 0)
 	thirdClassifyIds := make([]int, 0)
 	for _, v := range queryClassifyIds {
+		classify := classifyMap[v]
+		if classify.HasChild == 1 {
+			continue
+		}
 		switch classifyMap[v].Level {
 		case 1:
 			firstClassifyIds = append(firstClassifyIds, v)