文件后缀大写

This commit is contained in:
zhaokaiyao@91isoft.com
2021-10-17 14:26:44 +08:00
parent ffa894865c
commit 9b5bf72fad
2 changed files with 3 additions and 3 deletions
@@ -294,7 +294,7 @@ public class AttFileEOController {
String suffix=fileName.substring(fileName.lastIndexOf(".")+1);
//只能在pdf中添加水印,
//非pdf文件直接下载原文件
if (suffix.equals("pdf")){
if (suffix.equals("pdf")||suffix.equals("PDF")){
downloadFilePath=waterFilePath;
}else {
downloadFilePath=oldFilePath;