|
@@ -108,7 +108,7 @@ public class ServiceFileUtil {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//这里拼接文件名,把前缀去掉
|
|
//这里拼接文件名,把前缀去掉
|
|
|
- String tmpFileName = file.getFileName().toString().replaceAll("^[0-9]+[_]{1}","");
|
|
|
|
|
|
|
+ String tmpFileName = file.getFileName().toString().replaceAll("_\\d+A\\d+\\.",".");
|
|
|
if (directoryPath.endsWith("/")) {
|
|
if (directoryPath.endsWith("/")) {
|
|
|
directoryPath += tmpFileName;
|
|
directoryPath += tmpFileName;
|
|
|
} else {
|
|
} else {
|