fix(项目设置): 修复文件库节点的文件统计数量不对的问题

--bug=1016852 --user=宋天阳 【项目设置】左侧模块的文件数和列表文件数量不一致
https://www.tapd.cn/55049933/s/1244884
This commit is contained in:
song-tianyang 2022-09-19 14:08:59 +08:00 committed by 建国
parent fb94edae27
commit 28d3da27f4
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
<select id="moduleCountByMetadataIds" resultType="java.util.Map">
select module_id AS moduleId,count(id) AS countNum from file_metadata
where module_id in
where latest IS TRUE AND module_id in
<foreach collection="ids" item="value" separator="," open="(" close=")">
#{value}
</foreach>