From 914be0f7dafc736a3a75ba01e95fc169a75caf10 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Fri, 24 May 2019 10:17:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E9=87=91=E5=82=AC=E6=94=B6=EF=BC=88?= =?UTF-8?q?=E6=B1=BD=E8=BD=A6=EF=BC=89=E4=B8=AD=E8=87=AA=E5=8A=A8=E5=88=86?= =?UTF-8?q?=E6=B4=BE=E3=80=81=E7=A7=9F=E9=87=91=E5=82=AC=E6=94=B6=E3=80=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=82=AC=E6=AC=BE=E5=87=BD=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=87=AF=E6=8D=B7=E5=82=AC=E6=94=B6=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GeneratedReminderLetterList.jsp | 11 +++++++++++ .../overduedunning/OverdueDunningList.jsp | 11 +++++++++++ .../rentcollection/rentCollectionList.jsp | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/WebContent/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/GeneratedReminderLetterList.jsp b/WebContent/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/GeneratedReminderLetterList.jsp index 9da19ac25..d6dbc0368 100644 --- a/WebContent/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/GeneratedReminderLetterList.jsp +++ b/WebContent/Tenwa/Lease/Flow/RentCollection/generatedreminderletter/GeneratedReminderLetterList.jsp @@ -39,6 +39,17 @@ } String useridStr = StringUtils.join(useridList.toArray(), ","); doTemp.appendJboWhere(" and O.project_manage in (" + useridStr + ")"); + }else if(roleList.contains("800R00000048")){ + String userid_kj=""; + BizObjectManager userInfoBOM = JBOFactory.getBizObjectManager("jbo.awe.USER_INFO"); + List userListObject = userInfoBOM.createQuery("belongorg=:belongorg").setParameter("belongorg", "8006014").getResultList(false); + List useridList_kj = new ArrayList(); + for(BizObject bo : userListObject){ + userid_kj = bo.getAttribute("userid").toString(); + useridList_kj.add("'"+userid_kj+"'"); + } + String useridStr = StringUtils.join(useridList_kj.toArray(), ","); + doTemp.appendJboWhere(" and O.project_manage in (" + useridStr + ")"); } //登录人属于经销商角色 401:经销商roleid if(roleList.contains("401")){ diff --git a/WebContent/Tenwa/Lease/Flow/RentCollection/overduedunning/OverdueDunningList.jsp b/WebContent/Tenwa/Lease/Flow/RentCollection/overduedunning/OverdueDunningList.jsp index 087823363..6058e522e 100644 --- a/WebContent/Tenwa/Lease/Flow/RentCollection/overduedunning/OverdueDunningList.jsp +++ b/WebContent/Tenwa/Lease/Flow/RentCollection/overduedunning/OverdueDunningList.jsp @@ -37,6 +37,17 @@ } String useridStr = StringUtils.join(useridList.toArray(), ","); doTemp.appendJboWhere(" and O.project_manage in (" + useridStr + ")"); + }else if(roleList.contains("800R00000048")){//800R00000048为凯捷催收角色==========8006014为凯捷经销商 + String userid_kj=""; + BizObjectManager userInfoBOM = JBOFactory.getBizObjectManager("jbo.awe.USER_INFO"); + List userListObject = userInfoBOM.createQuery("belongorg=:belongorg").setParameter("belongorg", "8006014").getResultList(false); + List useridList_kj = new ArrayList(); + for(BizObject bo : userListObject){ + userid_kj = bo.getAttribute("userid").toString(); + useridList_kj.add("'"+userid_kj+"'"); + } + String useridStr = StringUtils.join(useridList_kj.toArray(), ","); + doTemp.appendJboWhere(" and O.project_manage in (" + useridStr + ")"); } //登录人属于经销商角色 401:经销商roleid if(roleList.contains("401")){ diff --git a/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/rentCollectionList.jsp b/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/rentCollectionList.jsp index d98312672..ff8281029 100644 --- a/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/rentCollectionList.jsp +++ b/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/rentCollectionList.jsp @@ -36,6 +36,17 @@ } String useridStr = StringUtils.join(useridList.toArray(), ","); doTemp.appendJboWhere(" and O.project_manage in (" + useridStr + ")"); + }else if(roleList.contains("800R00000045")){ + String userid_kj=""; + BizObjectManager userInfoBOM = JBOFactory.getBizObjectManager("jbo.awe.USER_INFO"); + List userListObject = userInfoBOM.createQuery("belongorg=:belongorg").setParameter("belongorg", "8006014").getResultList(false); + List useridList_kj = new ArrayList(); + for(BizObject bo : userListObject){ + userid_kj = bo.getAttribute("userid").toString(); + useridList_kj.add("'"+userid_kj+"'"); + } + String useridStr = StringUtils.join(useridList_kj.toArray(), ","); + doTemp.appendJboWhere(" and O.project_manage in (" + useridStr + ")"); } //登录人属于经销商角色 401:经销商roleid if(roleList.contains("401")){