fix(项目设置): 修复文件库节点的文件统计数量不对的问题
--bug=1016852 --user=宋天阳 【项目设置】左侧模块的文件数和列表文件数量不一致 https://www.tapd.cn/55049933/s/1244884
This commit is contained in:
parent
fb94edae27
commit
28d3da27f4
|
@ -77,7 +77,7 @@
|
||||||
|
|
||||||
<select id="moduleCountByMetadataIds" resultType="java.util.Map">
|
<select id="moduleCountByMetadataIds" resultType="java.util.Map">
|
||||||
select module_id AS moduleId,count(id) AS countNum from file_metadata
|
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=")">
|
<foreach collection="ids" item="value" separator="," open="(" close=")">
|
||||||
#{value}
|
#{value}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
Loading…
Reference in New Issue