瀏覽代碼

Merge branch 'bzq/dev' of eta_mini/eta_mini_api into debug

鲍自强 8 月之前
父節點
當前提交
20511cbf84
共有 1 個文件被更改,包括 4 次插入0 次删除
  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)