소스 검색

pci研报-未分类

gmy 3 달 전
부모
커밋
a807b8b774
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {
 		condition = ` and t1.source!=3`
 	}
-	if len(classifyIdList) > 0 {
+	if len(classifyIdList) >= 0 {
 		// 递归查询子分类
 		for _, classifyId := range classifyIdList {
 			id, err := strconv.Atoi(classifyId)