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"%>