|
@@ -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("文件上传失败,服务器忙请稍后再试!");
|
|
|
}
|
|
|
|