From 08953e5c44cb62c46e841d5ed4c463eeb4aa17a1 Mon Sep 17 00:00:00 2001 From: zzk Date: Wed, 20 Sep 2023 13:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=8E=86=E5=8F=B2=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=98=BE=E7=A4=BA=E4=BF=AE=E6=94=B9,=E5=8F=AA?= =?UTF-8?q?=E6=9C=89=E5=AE=A2=E6=88=B7=E6=98=BE=E7=A4=BA=E6=80=BB=E6=95=9E?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Comm/CustomerHistory/CustomerHistoryInformation.jsp | 8 +++++--- .../Comm/CustomerHistory/CustomerHistory_Info_temp.jsp | 8 ++++++++ .../CreateVoucherProcess/InsertCustomerHistoryInfo.java | 4 ++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistoryInformation.jsp b/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistoryInformation.jsp index 1fb88e2ac..bdce6ea14 100644 --- a/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistoryInformation.jsp +++ b/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistoryInformation.jsp @@ -48,9 +48,11 @@ <%@ include file="/Resources/CodeParts/Tab01.jsp"%> <%@ include file="/IncludeEnd.jsp"%> \ No newline at end of file diff --git a/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistory_Info_temp.jsp b/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistory_Info_temp.jsp index 7c33e6205..94f9c8a48 100644 --- a/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistory_Info_temp.jsp +++ b/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistory_Info_temp.jsp @@ -11,10 +11,18 @@ String sTempletNo = "CustomerHistoryInfoTemp";//--模板号-- String flowunId=CurPage.getParameter("flowunid");//流程编号 String certId=CurPage.getParameter("certId");//客户证件号 + String type =CurPage.getParameter("type");//客户类型 ASObjectModel doTemp = new ASObjectModel(sTempletNo); ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request); dwTemp.Style = "2";//freeform //dwTemp.genHTMLObjectWindow("1"); + //只有客户显示总敞口 + if(type.equals("client")){ + doTemp.setVisible("EXPOSURE",true); + }else { + doTemp.setVisible("EXPOSURE",false); + } + dwTemp.genHTMLObjectWindow(flowunId+","+certId); String compClientID = request.getParameter("CompClientID"); diff --git a/src_core/com/tenwa/voucher/CreateVoucherProcess/InsertCustomerHistoryInfo.java b/src_core/com/tenwa/voucher/CreateVoucherProcess/InsertCustomerHistoryInfo.java index abdf2118a..3f112f2d2 100644 --- a/src_core/com/tenwa/voucher/CreateVoucherProcess/InsertCustomerHistoryInfo.java +++ b/src_core/com/tenwa/voucher/CreateVoucherProcess/InsertCustomerHistoryInfo.java @@ -29,7 +29,7 @@ public class InsertCustomerHistoryInfo { } //获取客户历史信息 - public void InsertCustomerHistoryInfoTemp(JBOTransaction tx) throws Exception{ + public String InsertCustomerHistoryInfoTemp(JBOTransaction tx) throws Exception{ try { tx= JBOFactory.createJBOTransaction(); Conn conn = new Conn(tx); @@ -319,7 +319,7 @@ public class InsertCustomerHistoryInfo { }catch (Exception e){ e.printStackTrace(); } - + return "SUCCEEDED"; }