1.文件下载增加提示;

2.修复找不到文件时空指针异常。
This commit is contained in:
zhangbb 2020-05-22 11:16:03 +08:00
parent 46700cb1d7
commit 98cdac9583
2 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,9 @@
zdo.toZip(fileSavePath_temp, fos1, true);
//删除原文件
File f = new File(fileSavePath_temp);
zdo.deleteFile(f);
if(f.length()!=0){
zdo.deleteFile(f);
}
out.print("SUCCESS");
%><%@ include file="/IncludeEndAJAX.jsp"%>

View File

@ -59,6 +59,7 @@
});
}
function doCopy(sParam){
alert("开始下载");
var contractNos = contractNoArray.join("@");
contractNos.replace(/\s+/g, "");
var batchNos = batchNoArray.join("@");