From 0bf990daa16f46833cab5a2125c7797c6738649c Mon Sep 17 00:00:00 2001 From: zhangbb Date: Wed, 19 Aug 2020 14:53:33 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=89=8B=E5=B7=A5=E6=89=A3=E6=AC=BE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=BB=8F=E9=94=80=E5=95=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CollectionAudit/LcReviewAuditRentPlanByHandleList.jsp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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