From 57828ae2b08ca032a97368dd1de4afdf3b21e923 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Tue, 18 Jun 2019 13:51:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E9=B9=8F=E5=85=83=E6=8E=A5=E5=8F=A3=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E6=8C=89=E7=85=A7=E8=B4=B7=E5=89=8D?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E5=BD=A2=E5=BC=8F=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../query_report/pengyuanEbank.jsp | 9 +++- .../query_report/pengyuanEbankList.jsp | 45 +++++++++++++++++++ WebContent/WEB-INF/etc/jbo/jbo_customer.xml | 24 ++++++++++ .../controller/BigDataController.java | 11 +++-- 4 files changed, 83 insertions(+), 6 deletions(-) create mode 100644 WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp diff --git a/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbank.jsp b/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbank.jsp index 573e77e89..09a8fc1e7 100644 --- a/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbank.jsp +++ b/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbank.jsp @@ -11,6 +11,7 @@ String flowunid = CurPage.getParameter("ObjectNo"); String projectNo = CurPage.getParameter("ProjectNo"); String ReadyApprove = CurPage.getParameter("ReadyApprove"); + String fullcardNo = CurPage.getParameter("fullcardNo"); String applyId = ""; String getType = CurPage.getParameter("GetType"); String type = ""; @@ -45,7 +46,7 @@ params.put("queryType","25136"); params.put("name",sReturn[1]);//被查询人姓名 params.put("documentNo",sReturn[2]);//被查询人证件号码 - params.put("cardNos",sReturn[4]);//银行卡号 + params.put("cardNos",fullcardNo);//银行卡号 params.put("queryReasonID","101"); params.put("subreportIDs","14501,14518"); params.put("refID",""); @@ -73,7 +74,8 @@ html = html.replaceAll("width=\"103\"", ""); } if(html.indexOf("个人信息报告") != -1) { - html = html.replaceAll("个人信息报告", "  拉取鹏元数据 个人信用报告"); + // html = html.replaceAll("个人信息报告", "  拉取鹏元数据 个人信用报告"); + html = html.replaceAll("个人信息报告", "  返回 个人信息报告"); } if(html.indexOf("") != -1) { html = html.replaceAll("", ""); @@ -129,5 +131,8 @@ location.href = location.href.indexOf("&GetType=GET") == -1 ? location.href + "&GetType=GET&Count=<%=count%>" : location.href.substring(0, location.href.indexOf("&GetType=GET")) + "&GetType=GET&Count=<%=count%>"; } } + function returnList(){ + AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>","_self",""); + } <%@include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp b/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp new file mode 100644 index 000000000..a722a3833 --- /dev/null +++ b/WebContent/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp @@ -0,0 +1,45 @@ +<%@ page contentType="text/html; charset=GBK"%> +<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><% + /* + Author: undefined 2019-06-14 + Content: + History Log: + */ + String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号 + String ProjectId = CurPage.getParameter("ProjectId");//流程编号 + /* String flowunid = CurPage.getParameter("ObjectNo"); + String projectNo = CurPage.getParameter("ProjectNo"); + String ReadyApprove = CurPage.getParameter("ReadyApprove"); + String getType = CurPage.getParameter("GetType"); */ + + ASObjectModel doTemp = new ASObjectModel("VI_LB_IDENTITY_CHECK_EBANK"); + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); + dwTemp.Style="1"; //--设置为Grid风格-- + dwTemp.ReadOnly = "0"; //只读模式 + dwTemp.setPageSize(10); + dwTemp.genHTMLObjectWindow(sFlowUnid); + + //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格 + String sButtons[][] = { + {"true","All","Button","拉取鹏元数据","拉取鹏元数据","newRecord()","","","","btn_icon_add",""}, +// {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""}, +// {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""}, + }; +%><%@include file="/Frame/resources/include/ui/include_list.jspf"%> + +<%@ include file="/Frame/resources/include/include_end.jspf"%> \ No newline at end of file diff --git a/WebContent/WEB-INF/etc/jbo/jbo_customer.xml b/WebContent/WEB-INF/etc/jbo/jbo_customer.xml index 74dabba9a..51a752944 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_customer.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_customer.xml @@ -3155,5 +3155,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java b/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java index 0ed22225d..8b67d3613 100644 --- a/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java +++ b/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java @@ -114,6 +114,8 @@ public class BigDataController { Configure configure = Configure.getInstance(); String fileSavePath = configure.getParameter("FileSavePath") + "/" + "pengyuan" + "/"; String FlowNo = CurPage.getParameter("FlowNo"); + String fullcardNo = CurPage.getParameter("fullcardNo"); + if(fullcardNo==null||"".equals(fullcardNo)){fullcardNo="default";} String queryCondition = HttpClientUtil.getQueryCondition(params); Connection conn = Sqlca.getConnection(Sqlca); try{ @@ -124,8 +126,8 @@ public class BigDataController { //在发起大数据请求前记录所有报文信息 PreparedStatement ps = null; try { - ps = conn.prepareStatement("insert into bigdata_" + table + "_log (id, apply_id, type, html_url, html_param, inputuserid, inputorgid, inputtime,fullName,fullcertId,fullphone)" - + " values(REPLACE(UUID(),'-',''), ?, 'apply', ?, ?, ?, ?, ? ,?, ?, ? )"); + ps = conn.prepareStatement("insert into bigdata_" + table + "_log (id, apply_id, type, html_url, html_param, inputuserid, inputorgid, inputtime,fullName,fullcertId,fullphone,fullcardNo)" + + " values(REPLACE(UUID(),'-',''), ?, 'apply', ?, ?, ?, ?, ? ,?, ?, ?,? )"); ps.setString(1, applyId); ps.setString(2, BigDataPropertiesUtil.get("pengyuanUrl")); ps.setString(3, queryCondition + "," + BigDataPropertiesUtil.get("user") + "," + BigDataPropertiesUtil.get("password") + "," + type); @@ -135,6 +137,7 @@ public class BigDataController { ps.setString(7, CurPage.getParameter("fullName")); ps.setString(8, CurPage.getParameter("fullcertId")); ps.setString(9, CurPage.getParameter("fullphone")); + ps.setString(10, fullcardNo); ps.execute(); } catch(Exception e) { e.printStackTrace(); @@ -204,9 +207,9 @@ public class BigDataController { keywordValue.append(",'"+FlowNo+"'"); } SqlObject sql = new SqlObject(("insert into bigdata_" + table + " (id," + keyword.toString() + ",xml_data,html_data," - + "inputuserid,inputorgid,inputtime,fullName,fullcertId,fullphone) values('" + applyId + "'," + keywordValue.toString() + ",'" + + "inputuserid,inputorgid,inputtime,fullName,fullcertId,fullphone,fullcardNo) values('" + applyId + "'," + keywordValue.toString() + ",'" + xmlResult + "','" + htmlFile.split("@")[1] + "','" + CurPage.getUserId() + "','" + CurPage.getUser().getOrgID() + "','" + StringFunction.getTodayNow() +"','" - +CurPage.getParameter("fullName")+"','"+CurPage.getParameter("fullcertId")+"','"+CurPage.getParameter("fullphone")+"')").replaceAll(":", "△")); + +CurPage.getParameter("fullName")+"','"+CurPage.getParameter("fullcertId")+"','"+CurPage.getParameter("fullphone")+"','"+fullcardNo+"')").replaceAll(":", "△")); sql.setDebugSql(sql.getDebugSql().replaceAll("△", ":")); sql.setOriginalSql(sql.getOriginalSql().replaceAll("△", ":")); sql.setRunSql(sql.getRunSql().replaceAll("△", ":"));