fix: 企标带文件导出多层文件夹Bug
企标编号有特殊字符”/“,被识别成路径了
This commit is contained in:
+2
-1
@@ -1148,7 +1148,8 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
|
||||
for (OSSFile file : files) {
|
||||
String fileNameByType = fileNameByTypeMap.get(file.getStandardFileType());
|
||||
String baseFilePath = folderName + "/" + fileNameByType;
|
||||
// 企标编号中有特殊字符"/" 需要把特殊字符删掉
|
||||
String baseFilePath = folderName.replaceAll("/", "") + "/" + fileNameByType;
|
||||
String currentFilePath = baseFilePath;
|
||||
|
||||
if (filePathList.contains(currentFilePath)) {
|
||||
|
||||
Reference in New Issue
Block a user