Sfoglia il codice sorgente

修改fileManagerService调用文件管理系统接口代码

chendayu 2 anni fa
parent
commit
aed7e128c9

+ 0 - 2
PAS/src/main/java/cn/cslg/pas/common/utils/ReadExcelUtils.java

@@ -29,8 +29,6 @@ public class ReadExcelUtils {
     public static Integer textExcel(File tempFile, String sourceId) throws IOException {
         //判断文件是否存在
         if (!tempFile.exists() || tempFile.getPath().trim().equals("")) {
-            //删除临时文件tempFile
-            new File(tempFile.getPath()).delete();
             ThrowException.throwXiaoShiException("文件上传失败,服务器忙请稍后再试!");
         }
 

+ 1 - 1
PAS/src/main/java/cn/cslg/pas/service/upLoadPatent/UploadTaskService.java

@@ -279,7 +279,7 @@ public class UploadTaskService {
                 .setTaskType(0)
                 .setTaskType2(5)
                 .setIsAddType(2)
-                   ;
+        ;
 
         //根据下载的网站类型新增任务
         if (taskAddNewDTO.getTaskType2().equals(3)) {