Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -845,6 +845,12 @@ public class MinioFileIDataFileServiceImpl implements IDataFileService {
|
||||
return SdmResponse.success();
|
||||
}
|
||||
parentId = nodeMetadataInfo.getId();
|
||||
} else if (ObjectUtils.isNotEmpty(req.getDirId())) {
|
||||
FileMetadataInfo nodeMetadataInfo = fileMetadataInfoService.getById(req.getDirId());
|
||||
if (nodeMetadataInfo == null) {
|
||||
return SdmResponse.success();
|
||||
}
|
||||
parentId = nodeMetadataInfo.getId();
|
||||
} else {
|
||||
return SdmResponse.success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user