diff --git a/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanByHandleList.jsp b/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanByHandleList.jsp index ecfcfc5f8..3fc2d80e5 100644 --- a/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanByHandleList.jsp +++ b/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanByHandleList.jsp @@ -6,7 +6,6 @@ Content: History Log: */ - String plan_date = DateAssistant.getToday(); ASObjectModel doTemp = new ASObjectModel("ViLcReviewAuditRentPlanList3"); // doTemp.setJboWhere(" O.AUDIT_STATE = 'N'"); @@ -14,7 +13,12 @@ //只有计划日期未收款的都可以收款 doTemp.setJboWhereWhenNoFilter(" and O.PLAN_DATE <= '"+plan_date+"' and O.COLLECT_STATUS in ('未收款','部分收款','代偿')"); // doTemp.setJboWhereWhenNoFilter(" and O.COLLECT_STATUS in ('未收款','部分收款') "); -// doTemp.setJboWhere("O.PLAN_DATE <= '"+plan_date+"'"); + if(CurUser.hasRole("401")){ + String orgId = CurUser.getOrgID(); + String distributorId = Sqlca.getString(new SqlObject("select distributor_no from distributor_info where orgid='"+orgId+"'")); + doTemp.appendJboWhere("DISTRIBUTOR_ID='"+distributorId+"'"); + } + ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.MultiSelect = true; //多选b