1.鹏元:客户要求每查一条新的只保留新数据
This commit is contained in:
parent
c682d37571
commit
4c233b843a
@ -73,9 +73,9 @@
|
||||
if(html.indexOf("width=\"103\"") != -1) {
|
||||
html = html.replaceAll("width=\"103\"", "");
|
||||
}
|
||||
if(html.indexOf("<td>卡多笔交易记录</td>") != -1) {
|
||||
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\"> </span><span class=\"center\"><span class=\"btn_icon btn_icon_edit\"> </span><span class=\"btn_text\">拉取鹏元数据</span></span><span class=\"right\"> </span></a>个人信用报告</td>");
|
||||
html = html.replaceAll("<td>卡多笔交易记录</td>", "<td><a style=\"position:absolute;left:0;top:8%\" title=\"拉取鹏元数据\" onClick=\"returnList();\" class=\"inline_button \" hidefocus=\"\" href=\"#\"><span style=\"display:none;\"></span><span class=\"left\"> </span><span class=\"center\"><span class=\"btn_icon btn_icon_edit\"> </span><span class=\"btn_text\">返回</span></span><span class=\"right\"> </span></a>个人信息报告</td>");
|
||||
html = html.replaceAll("<td>个人信息报告</td>", "<td><a style=\"position:absolute;left:0;top:8%\" title=\"拉取鹏元数据\" onClick=\"returnList();\" class=\"inline_button \" hidefocus=\"\" href=\"#\"><span style=\"display:none;\"></span><span class=\"left\"> </span><span class=\"center\"><span class=\"btn_icon btn_icon_edit\"> </span><span class=\"btn_text\">返回</span></span><span class=\"right\"> </span></a>个人信息报告</td>");
|
||||
}
|
||||
if(html.indexOf("<body>") != -1) {
|
||||
html = html.replaceAll("<body>", "<body style=\"overflow:scroll;height:95%\">");
|
||||
|
||||
@ -206,6 +206,10 @@ public class BigDataController {
|
||||
keyword.append(",keyword3");
|
||||
keywordValue.append(",'"+FlowNo+"'");
|
||||
}
|
||||
if("ebank_af".equals(table)){
|
||||
SqlObject sql_d = new SqlObject("delete from bigdata_ebank_af where fullcertId="+CurPage.getParameter("fullcertId"));
|
||||
Sqlca.executeSQL(sql_d);
|
||||
}
|
||||
SqlObject sql = new SqlObject(("insert into bigdata_" + table + " (id," + keyword.toString() + ",xml_data,html_data,"
|
||||
+ "inputuserid,inputorgid,inputtime,fullName,fullcertId,fullphone,fullcardNo) values('" + applyId + "'," + keywordValue.toString() + ",'"
|
||||
+ xmlResult + "','" + htmlFile.split("@")[1] + "','" + CurPage.getUserId() + "','" + CurPage.getUser().getOrgID() + "','" + StringFunction.getTodayNow() +"','"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user