提交 3420e340 authored 作者: 任建彩's avatar 任建彩

feat:打包文件名

1.file
上级 49c87412
......@@ -311,7 +311,7 @@ public class ResourceRelationServiceImpl extends ServiceImpl<ResourceRelationMap
//pdf
if (e.getResourceType().equals(AllResourceTypeEnum.PDF.getCode())) {
PdfLibrary pdfLibrary = pdfLibraryMapper.selectById(e.getResourceId());
if (pdfLibrary != null && StringUtils.isNotBlank(pdfLibrary.getPdf())) {
if (pdfLibrary != null && pdfLibrary.getIsDownload().equals("0") && StringUtils.isNotBlank(pdfLibrary.getPdf())) {
e.setFileName(pdfLibrary.getPdf());
listFile.add(e.getFileName());
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论