修改鹏远小问题

This commit is contained in:
luojian 2019-06-10 17:34:32 +08:00
parent 165749c1bb
commit da9b57b733
3 changed files with 10 additions and 9 deletions

View File

@ -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("<td>个人信息报告</td>") != -1) {
html = html.replaceAll("<td>个人信息报告</td>", "<td><a style=\"position:absolute;left:0;top:8%\" title=\"拉取鹏元数据\" onclick=\"AsButton.run(this, function(){getData();}, event);return false;\" class=\"inline_button \" hidefocus=\"\" href=\"javascript:void(0);\"><span style=\"display:none;\"></span><span class=\"left\">&nbsp;</span><span class=\"center\"><span class=\"btn_icon btn_icon_edit\">&nbsp;</span><span class=\"btn_text\">拉取鹏元数据</span></span><span class=\"right\">&nbsp;</span></a>个人信用报告</td>");
if(html.indexOf("<td>个人反欺诈分析报告</td>") != -1) {
html = html.replaceAll("<td>个人反欺诈分析报告</td>", "<td><a style=\"position:absolute;left:0;top:8%\" title=\"拉取鹏元数据\" onclick=\"AsButton.run(this, function(){getData();}, event);return false;\" class=\"inline_button \" hidefocus=\"\" href=\"javascript:void(0);\"><span style=\"display:none;\"></span><span class=\"left\">&nbsp;</span><span class=\"center\"><span class=\"btn_icon btn_icon_edit\">&nbsp;</span><span class=\"btn_text\">拉取鹏元数据</span></span><span class=\"right\">&nbsp;</span></a>个人信用报告</td>");
}
if(html.indexOf("<body>") != -1) {
html = html.replaceAll("<body>", "<body style=\"overflow:scroll;height:95%\">");

View File

@ -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();

View File

@ -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);