fix(测试跟踪): 回收站删除用例报错
This commit is contained in:
parent
33f0719090
commit
9b39bfadc9
|
@ -194,6 +194,9 @@ public class MdFileService {
|
|||
* @param resourceIds
|
||||
*/
|
||||
public void deleteBySourceIds(List<String> resourceIds) {
|
||||
if (CollectionUtils.isEmpty(resourceIds)) {
|
||||
return;
|
||||
}
|
||||
// 查询文件是否被其他资源引用
|
||||
List<FileAssociation> deleteFileAssociations = fileAssociationService.getByResourceIds(resourceIds);
|
||||
List<String> fileNames = deleteFileAssociations.stream().map(FileAssociation::getFileMetadataId).toList();
|
||||
|
|
Loading…
Reference in New Issue