1.文件下载增加提示;
2.修复找不到文件时空指针异常。
This commit is contained in:
parent
46700cb1d7
commit
98cdac9583
@ -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"%>
|
||||
|
||||
|
||||
@ -59,6 +59,7 @@
|
||||
});
|
||||
}
|
||||
function doCopy(sParam){
|
||||
alert("开始下载");
|
||||
var contractNos = contractNoArray.join("@");
|
||||
contractNos.replace(/\s+/g, "");
|
||||
var batchNos = batchNoArray.join("@");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user