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"; }