增加文件统计后端
This commit is contained in:
@@ -163,4 +163,14 @@
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<!-- 文档类型统计-->
|
||||
<select id="countType" resultType="java.util.Map">
|
||||
select t.doc_type as types, sum(1) as statistics from t_document t where t.is_deleted = '0' group by t.doc_type;
|
||||
</select>
|
||||
|
||||
<!-- 文档来源统计-->
|
||||
<select id="countSource" resultType="java.util.Map">
|
||||
select t.doc_source as types, sum(1) as statistics from t_document t where t.is_deleted = '0' group by t.doc_source;
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user