Bladeren bron

pci研报-未分类

gmy 3 maanden geleden
bovenliggende
commit
a807b8b774
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      services/document_manage_service/document_manage_service.go

+ 1 - 1
services/document_manage_service/document_manage_service.go

@@ -127,7 +127,7 @@ func DocumentReportList(documentType int, chartPermissionIdList []string, classi
 	if documentType == 1 {
 	if documentType == 1 {
 		condition = ` and t1.source!=3`
 		condition = ` and t1.source!=3`
 	}
 	}
-	if len(classifyIdList) > 0 {
+	if len(classifyIdList) >= 0 {
 		// 递归查询子分类
 		// 递归查询子分类
 		for _, classifyId := range classifyIdList {
 		for _, classifyId := range classifyIdList {
 			id, err := strconv.Atoi(classifyId)
 			id, err := strconv.Atoi(classifyId)