From 1d86281bd441e305181390a663fb271efc4a7f48 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Fri, 27 Sep 2019 15:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E6=9F=A5=E7=9C=8B=E6=89=80=E6=9C=89=E7=9A=84?= =?UTF-8?q?=E6=B3=95=E4=BA=BA=E5=AE=A2=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tenwa/Customer/Lessee/Company/CustomerCompanyList.jsp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Customer/Lessee/Company/CustomerCompanyList.jsp b/WebContent/Tenwa/Customer/Lessee/Company/CustomerCompanyList.jsp index eb858f401..c88e6ebf6 100644 --- a/WebContent/Tenwa/Customer/Lessee/Company/CustomerCompanyList.jsp +++ b/WebContent/Tenwa/Customer/Lessee/Company/CustomerCompanyList.jsp @@ -2,6 +2,7 @@ <%@page import="com.tenwa.comm.dataRightmanager.DataRightManager"%> <%@ include file="/Frame/resources/include/include_begin_list.jspf"%> <% + String PG_TITLE = "法人客户列表"; String userId = CurUser.getUserID(); //用户ID String orgId = CurOrg.getOrgID(); //机构ID @@ -11,7 +12,8 @@ if(customerListTemplet==null)customerListTemplet=""; ASObjectModel doTemp = new ASObjectModel(customerListTemplet); //String otherWhere=DataRightManager.getRightCondition(CurUser,"O","cust"); - doTemp.appendJboWhere(" and O.inputuserid='"+userId+"'"); + //登录超级管理员显示所有的法人客户 + doTemp.appendJboWhere(" and (O.inputuserid='"+userId+"' or '"+userId+"'='administrator')"); //doTemp.appendJboWhere(otherWhere); //doTemp.setJboWhereWhenNoFilter("ct.custstatus = 'status02' "); ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); @@ -28,6 +30,7 @@ {"true","All","Button","引用为","引用为","quote()","","","","btn_icon_quote"} , {"true","All","Button","分配归属人","分配归属人","allocation()","","","","btn_icon_distribute"} }; + %><%@include file="/Frame/resources/include/ui/include_list.jspf"%>