浏览代码

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)