fix:数据查询文件,优化多级节点无关联查询
This commit is contained in:
@@ -209,6 +209,9 @@
|
||||
</if>
|
||||
</where>
|
||||
GROUP BY file_storage.fileName, file_storage.fileId, file_storage.userGroupId, file_storage.userId, file_storage.fileSuffix
|
||||
<if test="queryBigFileReq.dirIds != null and queryBigFileReq.dirIds.size() > 0">
|
||||
HAVING COUNT(DISTINCT file_storage.dirId) = #{queryBigFileReq.dirIdsCount}
|
||||
</if>
|
||||
order by MAX(file_storage.updateTime) desc
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user