diff --git a/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandata.jsp b/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandata.jsp index d80e31dc0..f0ba197ff 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandata.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandata.jsp @@ -12,7 +12,8 @@ String projectNo = CurPage.getParameter("ProjectNo"); String ReadyApprove = CurPage.getParameter("ReadyApprove"); String applyId = ""; - String getType ="GET"; + String getType = CurPage.getParameter("GetType"); + //String getType ="GET"; String type = ""; String count = ""; String reasonDesc = ""; @@ -43,9 +44,9 @@ if(!"false".equals(resultals)){ String[] sReturn = resultals.split("@"); params.put("queryType","25212"); - params.put("name","测试一"); - params.put("documentNo","110000199001011112"); - params.put("phone","13712345670"); + params.put("name",sReturn[1]); + params.put("documentNo",sReturn[2]); + params.put("phone",sReturn[3]); params.put("queryReasonID","101"); params.put("subreportIDs","96040"); params.put("refID",""); @@ -72,8 +73,8 @@ if(html.indexOf("width=\"103\"") != -1) { html = html.replaceAll("width=\"103\"", ""); } - if(html.indexOf("个人信息报告") != -1) { - html = html.replaceAll("个人信息报告", "  拉取鹏元数据 个人信用报告"); + if(html.indexOf("个人反欺诈分析报告") != -1) { + html = html.replaceAll("个人反欺诈分析报告", "  拉取鹏元数据 个人信用报告"); } if(html.indexOf("") != -1) { html = html.replaceAll("", ""); diff --git a/src_tenwa/com/tenwa/httpclient/HttpClientUtil.java b/src_tenwa/com/tenwa/httpclient/HttpClientUtil.java index 37b4f76cc..a0af9d083 100644 --- a/src_tenwa/com/tenwa/httpclient/HttpClientUtil.java +++ b/src_tenwa/com/tenwa/httpclient/HttpClientUtil.java @@ -254,7 +254,7 @@ public class HttpClientUtil { ZipEntry zipEntry = null; while((zipEntry = zip.getNextEntry()) != null) { String fileName = zipEntry.getName(); - fileName = filePath + File.separator + fileName; + fileName = filePath + "/" + fileName; if(fileName.endsWith(".zip")) {//是压缩文件就继续解压 unzipFile(fileName); } else { @@ -308,7 +308,7 @@ public class HttpClientUtil { if(applyId != null && !"".equals(applyId)) { code = applyId; } - filePath = uploadPath + zipEntry.getName().replaceAll(".zip", code + ".zip"); + filePath = uploadPath + zipEntry.getName().replaceAll(".zip", "/"+code + ".zip"); file = new File(filePath); if(!file.exists()) { new File(file.getParent()).mkdirs(); diff --git a/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java b/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java index f7a25af04..63a109f2e 100644 --- a/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java +++ b/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java @@ -111,7 +111,7 @@ public class BigDataController { @SuppressWarnings("deprecation") Configure configure = Configure.getInstance(); - String fileSavePath = configure.getParameter("FileSavePath") + File.separator + "pengyuan" + File.separator; + String fileSavePath = configure.getParameter("FileSavePath") + "/" + "pengyuan" + "/"; String FlowNo = CurPage.getParameter("FlowNo"); String queryCondition = HttpClientUtil.getQueryCondition(params); Connection conn = Sqlca.getConnection(Sqlca);