chenendian пре 2 дана
родитељ
комит
6b14db707f

+ 1 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/utils/ServiceFileUtil.java

@@ -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 {