From 98cdac95839412837a5993d54a76a4b46e491644 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Fri, 22 May 2020 11:16:03 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=8F=90=E7=A4=BA=EF=BC=9B=202.=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=89=BE=E4=B8=8D=E5=88=B0=E6=96=87=E4=BB=B6=E6=97=B6=E7=A9=BA?= =?UTF-8?q?=E6=8C=87=E9=92=88=E5=BC=82=E5=B8=B8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Tenwa/Core/FlowManager/CopyFileToOther.jsp | 4 +++- .../LBAssetTransferRegistration/FileDownloadImportList.jsp | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Core/FlowManager/CopyFileToOther.jsp b/WebContent/Tenwa/Core/FlowManager/CopyFileToOther.jsp index e3130c789..de634a814 100644 --- a/WebContent/Tenwa/Core/FlowManager/CopyFileToOther.jsp +++ b/WebContent/Tenwa/Core/FlowManager/CopyFileToOther.jsp @@ -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"%> diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileDownloadImportList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileDownloadImportList.jsp index 8ddafc7d3..9bd67547c 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileDownloadImportList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileDownloadImportList.jsp @@ -59,6 +59,7 @@ }); } function doCopy(sParam){ + alert("开始下载"); var contractNos = contractNoArray.join("@"); contractNos.replace(/\s+/g, ""); var batchNos = batchNoArray.join("@");