Browse Source

代码优化

gaodm 5 years ago
parent
commit
75aa4c5976
1 changed files with 1 additions and 1 deletions
  1. 1 1
      knowledgeman-service/src/main/resources/mapper/ConceptMapper.xml

+ 1 - 1
knowledgeman-service/src/main/resources/mapper/ConceptMapper.xml

@@ -319,7 +319,7 @@
 		) a
 		LEFT JOIN
 		(SELECT
-		lib_type,COUNT(1) AS count
+		lib_type,COUNT(id) AS count
 		FROM kl_concept
 		WHERE lib_type in (18,1,35,33,12,13,16,10,25,11)
 		AND is_deleted='N'