diff --git a/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/CapgeminiReport.jsp b/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/CapgeminiReport.jsp index 438223895..5f980e2d1 100644 --- a/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/CapgeminiReport.jsp +++ b/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/CapgeminiReport.jsp @@ -28,12 +28,14 @@ doTemp.appendJboWhere(" and lci.project_manage='"+userid+"'"); //导出有权限 template = "cff950db664c4faeb1f4656629176004"; + }else{ + template = "cff950db664c4faeb1f4656629176004"; } String belongorg = Sqlca.getString("select belongorg from user_info where userid='"+userid+"'"); String distributor_no = Sqlca.getString("select distributor_no from distributor_info where orgid='"+belongorg+"'"); if(roleList.contains("800R00000051")){ - doTemp.appendJboWhere(" and lci.distributor_id='"+distributor_no+"'"); + doTemp.appendJboWhere(" and O.distributor_no='"+distributor_no+"'"); template = "cff950db664c4faeb1f4656629176004"; }