浏览代码

Merge branch 'eta_293_optimize_1114@guomengyuan' into debug

gmy 4 月之前
父节点
当前提交
101bc27e98
共有 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)