From 531b44faa9491ca6f42a9b09c66a55b326d0f5d8 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 27 Jul 2018 20:42:47 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=8F=E9=94=80?= =?UTF-8?q?=E5=95=86=E5=88=86=E7=B1=BB=E7=BB=B4=E6=8A=A4=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DistributorGroupRelationHandler.java | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src_tenwa/com/tenwa/customer/handler/group/DistributorGroupRelationHandler.java b/src_tenwa/com/tenwa/customer/handler/group/DistributorGroupRelationHandler.java index 9414621d8..8146e9567 100644 --- a/src_tenwa/com/tenwa/customer/handler/group/DistributorGroupRelationHandler.java +++ b/src_tenwa/com/tenwa/customer/handler/group/DistributorGroupRelationHandler.java @@ -34,16 +34,21 @@ import com.amarsoft.awe.dw.handler.impl.CommonHandler; this.errors="该集团已存在此客户!"; return false; } - List cgrList = bom.createQuery("distributor_id=:distributor_id ").setParameter("distributor_id",distributor_id).getResultList(false); - if(cgrList!=null){ - for(BizObject cgrs:cgrList){ - BizObject dgc = dgcManage.createQuery("id=:groupId and tyle='01'").setParameter("groupId", cgrs.getAttribute("group_id").getString()).getSingleResult(false); - if(dgc!=null){ - this.errors="该经销商已存在"+dgc.getAttribute("group_name").getString()+"集团中!"; - return false; + BizObject dgcs = dgcManage.createQuery("id=:id").setParameter("id", groupId).getSingleResult(false); + if(dgcs!=null){ + if("01".equals(dgcs.getAttribute("tyle").getValue())){ + List cgrList = bom.createQuery("distributor_id=:distributor_id ").setParameter("distributor_id",distributor_id).getResultList(false); + if(cgrList!=null){ + for(BizObject cgrs:cgrList){ + BizObject dgc = dgcManage.createQuery("id=:groupId and tyle='01'").setParameter("groupId", cgrs.getAttribute("group_id").getString()).getSingleResult(false); + if(dgc!=null){ + this.errors="该经销商已存在"+dgc.getAttribute("group_name").getString()+"集团中!"; + return false; + } + } + } } - } }else{ BizObject b=bom.createQuery("id=:id").setParameter("id", Id).getSingleResult(false); From cceeb4b023c82f6e027ef766e77f14440360ab92 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Sat, 28 Jul 2018 11:03:44 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E5=A9=9A=E5=A7=BB=E7=8A=B6=E6=80=81=E9=80=89=E6=8B=A9=E5=B7=B2?= =?UTF-8?q?=E5=A9=9A=E5=AD=90=E5=A5=B3=E6=95=B0=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp | 1 + 1 file changed, 1 insertion(+) diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp index 80570e570..009d9dfec 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp @@ -72,6 +72,7 @@ function changeChildrensNumber(){//已婚时显示配偶信息页面 var marriage = getItemValue(0,0,"MARRIAGE"); if("01" == marriage){ + setItemRequired(0, "childrens_number", true); $("#CHILDRENS_NUMBER").removeAttr("ReadOnly");//删除子女人数字段只读属性 $("#A_Group_0030").attr("style","display:block;"); changeFamilyRequired(); From ca59611d1bcb99ee48ff3dddf57b0b6540de1f26 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Sat, 28 Jul 2018 11:32:20 +0800 Subject: [PATCH 3/6] =?UTF-8?q?1.=E5=AE=9E=E9=99=85=E4=BB=98=E6=AC=BE?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E8=A7=A3=E5=86=B3=E6=8A=A5=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tenwa/sdk/controller/CmbToCallbackController.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src_cmb/com/tenwa/sdk/controller/CmbToCallbackController.java b/src_cmb/com/tenwa/sdk/controller/CmbToCallbackController.java index af1837d76..08f07002d 100644 --- a/src_cmb/com/tenwa/sdk/controller/CmbToCallbackController.java +++ b/src_cmb/com/tenwa/sdk/controller/CmbToCallbackController.java @@ -147,11 +147,18 @@ public class CmbToCallbackController extends BaseFlowStartAction { callback_detail_bo.setAttributeValue("RTNNAR",callback_detail.getRTNNAR()); this.initTabeUserInfo(callback_detail_bo); callback_detail_bom.saveObject(callback_detail_bo); + String RTNFLG = callback_detail.getRTNFLG(); + String sql1=""; + if("S".equals(RTNFLG)){ + sql1 = "update O set O.EBANK_STATUS='05' where O.FLOWUNID='"+FLOWUNID+"'"; + }else{ + sql1 = "update O set O.EBANK_STATUS='04' where O.FLOWUNID='"+FLOWUNID+"'"; + } + JBOFactory.createBizObjectQuery(LC_FUND_INCOME_TEMP.CLASS_NAME,sql1).executeUpdate(); } map.put("code", "0") ; map.put("msg", "查询结果刷新成功") ; JSONObject jsonObj = JSONObject.fromObject(map); - sql(); return jsonObj.toString(); }else { sql(); @@ -179,7 +186,7 @@ public class CmbToCallbackController extends BaseFlowStartAction { public void sql() throws JBOException{ String sql2 = "update O left join jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO lci on lci.id=O.contract_id" +" left join jbo.com.tenwa.lease.comm.LC_FUND_INCOME_CALLBACK_DETAIL_TEMP tt on tt.DISTRIBUTOR_ID=lci.distributor_id" - +" and O.FLOWUNID=tt.FLOWUNID set O.EBANK_STATUS=case when tt.RTNFLG='S' then '05' else '04' end where O.FLOWUNID="+"'"+FLOWUNID+"'" ; + +" and O.FLOWUNID=tt.FLOWUNID set O.EBANK_STATUS=case when tt.RTNFLG='S' then '05' else '04' end where O.FLOWUNID='"+FLOWUNID+"'" ; JBOFactory.createBizObjectQuery(LC_FUND_INCOME_TEMP.CLASS_NAME,sql2).executeUpdate(); } } From 2afe87343b9340d28ef1b4bacdf2a6d4aa5d8cbc Mon Sep 17 00:00:00 2001 From: zhangbb Date: Sat, 28 Jul 2018 16:02:32 +0800 Subject: [PATCH 4/6] =?UTF-8?q?1.=E4=B8=BA=E4=BA=86=E6=96=B9=E4=BE=BF?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=8C=E4=B8=B4=E6=97=B6=E5=BC=80=E6=94=BE?= =?UTF-8?q?=E5=9B=9E=E7=9B=98=E7=8A=B6=E6=80=81=E3=80=82=202=E3=80=82?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E9=85=8D=E7=BD=AE=E4=B8=AD=EF=BC=8C=E5=88=A9?= =?UTF-8?q?=E7=8E=87=E7=B1=BB=E5=9E=8B=E4=B8=AD=E5=A2=9E=E6=B7=BB=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E5=88=A9=E7=8E=87=E5=92=8C=E6=B5=AE=E5=8A=A8=E5=88=A9?= =?UTF-8?q?=E7=8E=87=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lease/Flow/Fund/ActualPayment/ActualPaymentBatchModify.jsp | 2 +- WebContent/WEB-INF/etc/app/component/component-config.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebContent/Tenwa/Lease/Flow/Fund/ActualPayment/ActualPaymentBatchModify.jsp b/WebContent/Tenwa/Lease/Flow/Fund/ActualPayment/ActualPaymentBatchModify.jsp index 556efd8ac..1f23e7e52 100644 --- a/WebContent/Tenwa/Lease/Flow/Fund/ActualPayment/ActualPaymentBatchModify.jsp +++ b/WebContent/Tenwa/Lease/Flow/Fund/ActualPayment/ActualPaymentBatchModify.jsp @@ -11,7 +11,7 @@ String sTempletNo = "ActualPaymentBatchModify";//--模板号-- ASObjectModel doTemp = new ASObjectModel(sTempletNo); if("0020".equals(phaseNo)){ - doTemp.setVisible("EBANK_STATUS", false); + //doTemp.setVisible("EBANK_STATUS", false); doTemp.setReadOnly("BANK", true); doTemp.setRequired("BANK", false); } diff --git a/WebContent/WEB-INF/etc/app/component/component-config.xml b/WebContent/WEB-INF/etc/app/component/component-config.xml index 9109e3804..c8e360f21 100644 --- a/WebContent/WEB-INF/etc/app/component/component-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-config.xml @@ -1085,7 +1085,7 @@ - + From 5b1962fa897aac75cdf269268a703acdde30f371 Mon Sep 17 00:00:00 2001 From: liuzhao Date: Sat, 28 Jul 2018 16:20:31 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E7=A7=9F=E9=87=91=E5=8F=91=E7=A5=A8xml?= =?UTF-8?q?=E7=9A=84sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RentInvoice/rent_invoice_plan.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/WebContent/Tenwa/Core/InvoiceManager/TablesXML/RentInvoice/rent_invoice_plan.xml b/WebContent/Tenwa/Core/InvoiceManager/TablesXML/RentInvoice/rent_invoice_plan.xml index 08c20d88e..06e432e60 100644 --- a/WebContent/Tenwa/Core/InvoiceManager/TablesXML/RentInvoice/rent_invoice_plan.xml +++ b/WebContent/Tenwa/Core/InvoiceManager/TablesXML/RentInvoice/rent_invoice_plan.xml @@ -43,7 +43,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, rlrp.plan_list AS rentlist, rlrp.plan_date AS plandate, rlrp.rent AS planmoney, - 'rent' AS renttype, + CONVERT('rent' USING utf8) AS renttype, invoiceinfo.interest_invoice_type AS rentinvoicetype, invoiceinfo.interest_rate AS rentrate, lccs.contract_id AS contractid @@ -81,7 +81,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, LEFT JOIN (SELECT asset_type,lease_form,tax_reg_type,interest_rate,interest_invoice_type,corpus_rate,corpus_invoice_type,hand_rate,hand_invoice_type,service_rate,service_invoice_type,nominal_rate,nominal_invoice_type,caution_invoice_type FROM TAX_INFO WHERE CONTRACT_DATE='2016/05/01' AND before_after='after' AND asset_type='asset_type01') taxrate2 ON taxrate2.asset_type=lci.asset_type AND taxrate2.tax_reg_type=lcit.tax_reg_type AND taxrate2.lease_form=lci.lease_form ) invoiceinfo on lci.id= invoiceinfo.id - WHERE lci.rent_invoice_type in ('invoice_type03','invoice_type05') AND lccs.PLAN_STATUS>=31 + WHERE lccs.PLAN_STATUS>=31 UNION ALL SELECT clrp.id AS id, @@ -89,7 +89,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, clrp.plan_list AS rentlist, clrp.plan_date AS plandate, clrp.corpus AS planmoney, - 'corpus' AS renttype, + CONVERT('corpus' USING utf8) AS renttype, invoiceinfo.corpus_invoice_type AS rentinvoicetype, invoiceinfo.corpus_rate AS rentrate, lccs.contract_id AS contractid @@ -128,7 +128,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, (SELECT asset_type,lease_form,tax_reg_type,interest_rate,interest_invoice_type,corpus_rate,corpus_invoice_type,hand_rate,hand_invoice_type,service_rate,service_invoice_type,nominal_rate,nominal_invoice_type,caution_invoice_type FROM TAX_INFO WHERE CONTRACT_DATE='2016/05/01' AND before_after='after' AND asset_type='asset_type01') taxrate2 ON taxrate2.asset_type=lci.asset_type AND taxrate2.tax_reg_type=lcit.tax_reg_type AND taxrate2.lease_form=lci.lease_form where lci.sign_date>='2016/05/01' ) invoiceinfo on lci.id= invoiceinfo.id - WHERE lci.rent_invoice_type='invoice_type04' AND lccs.PLAN_STATUS>=31 + WHERE lccs.PLAN_STATUS>=31 UNION ALL SELECT ilrp.id AS id, @@ -136,7 +136,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, ilrp.plan_list AS rentlist, ilrp.plan_date AS plandate, ilrp.interest AS planmoney, - 'interest' AS renttype, + CONVERT('interest' USING utf8) AS renttype, invoiceinfo.interest_invoice_type AS rentinvoicetype, invoiceinfo.interest_rate AS rentrate, lccs.contract_id AS contractid @@ -175,7 +175,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, (SELECT asset_type,lease_form,tax_reg_type,interest_rate,interest_invoice_type,corpus_rate,corpus_invoice_type,hand_rate,hand_invoice_type,service_rate,service_invoice_type,nominal_rate,nominal_invoice_type,caution_invoice_type FROM TAX_INFO WHERE CONTRACT_DATE='2016/05/01' AND before_after='after' AND asset_type='asset_type01') taxrate2 ON taxrate2.asset_type=lci.asset_type AND taxrate2.tax_reg_type=lcit.tax_reg_type AND taxrate2.lease_form=lci.lease_form where lci.sign_date>='2016/05/01' ) invoiceinfo on lci.id= invoiceinfo.id - WHERE lci.rent_invoice_type IN ('invoice_type01','invoice_type02','invoice_type04','invoice_type06') AND lccs.PLAN_STATUS>=31 + WHERE lccs.PLAN_STATUS>=31 ) rentplan LEFT JOIN LB_CONTRACT_INFO lci ON rentplan.contractid=lci.id LEFT JOIN lb_contract_invoice_type lcit ON lcit.contract_id=lci.id AND lcit.is_main='Y' @@ -265,7 +265,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, LEFT JOIN (SELECT asset_type,lease_form,tax_reg_type,interest_rate,interest_invoice_type,corpus_rate,corpus_invoice_type,hand_rate,hand_invoice_type,service_rate,service_invoice_type,nominal_rate,nominal_invoice_type,caution_invoice_type FROM TAX_INFO WHERE CONTRACT_DATE='2016/05/01' AND before_after='after' AND asset_type='asset_type01') taxrate2 ON taxrate2.asset_type=lci.asset_type AND taxrate2.tax_reg_type=lcit.tax_reg_type AND taxrate2.lease_form=lci.lease_form ) invoiceinfo on lci.id= invoiceinfo.id - WHERE lci.rent_invoice_type in ('invoice_type03','invoice_type05') AND lccs.PLAN_STATUS>=31 + WHERE lccs.PLAN_STATUS>=31 UNION ALL SELECT clrp.id AS id, @@ -312,7 +312,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, (SELECT asset_type,lease_form,tax_reg_type,interest_rate,interest_invoice_type,corpus_rate,corpus_invoice_type,hand_rate,hand_invoice_type,service_rate,service_invoice_type,nominal_rate,nominal_invoice_type,caution_invoice_type FROM TAX_INFO WHERE CONTRACT_DATE='2016/05/01' AND before_after='after' AND asset_type='asset_type01') taxrate2 ON taxrate2.asset_type=lci.asset_type AND taxrate2.tax_reg_type=lcit.tax_reg_type AND taxrate2.lease_form=lci.lease_form where lci.sign_date>='2016/05/01' ) invoiceinfo on lci.id= invoiceinfo.id - WHERE lci.rent_invoice_type='invoice_type04' AND lccs.PLAN_STATUS>=31 + WHERE lccs.PLAN_STATUS>=31 UNION ALL SELECT ilrp.id AS id, @@ -359,7 +359,7 @@ select id,contractnumber,paymentnumber,customername,rentlist,plandate,planmoney, (SELECT asset_type,lease_form,tax_reg_type,interest_rate,interest_invoice_type,corpus_rate,corpus_invoice_type,hand_rate,hand_invoice_type,service_rate,service_invoice_type,nominal_rate,nominal_invoice_type,caution_invoice_type FROM TAX_INFO WHERE CONTRACT_DATE='2016/05/01' AND before_after='after' AND asset_type='asset_type01') taxrate2 ON taxrate2.asset_type=lci.asset_type AND taxrate2.tax_reg_type=lcit.tax_reg_type AND taxrate2.lease_form=lci.lease_form where lci.sign_date>='2016/05/01' ) invoiceinfo on lci.id= invoiceinfo.id - WHERE lci.rent_invoice_type IN ('invoice_type01','invoice_type02','invoice_type04','invoice_type06') AND lccs.PLAN_STATUS>=31 + WHERE lccs.PLAN_STATUS>=31 ) rentplan LEFT JOIN LB_CONTRACT_INFO lci ON rentplan.contractid=lci.id LEFT JOIN lb_contract_invoice_type lcit ON lcit.contract_id=lci.id AND lcit.is_main='Y' From 81647f8c402f274bd4956a6a339934348aa07de2 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Sat, 28 Jul 2018 17:05:55 +0800 Subject: [PATCH 6/6] =?UTF-8?q?1.=E5=95=86=E5=8A=A1=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E7=A7=9F=E9=87=91=E8=AE=A1=E5=88=92=EF=BC=8C?= =?UTF-8?q?=E7=BB=8F=E9=94=80=E5=95=86=E5=8F=AA=E6=98=BE=E7=A4=BA=E6=9C=9F?= =?UTF-8?q?=E6=AC=A1=EF=BC=8C=E8=AE=A1=E5=88=92=E6=97=A5=E6=9C=9F=EF=BC=8C?= =?UTF-8?q?=E7=A7=9F=E9=87=91=EF=BC=9B=E9=9D=9E=E8=B4=A2=E5=8A=A1=E7=9A=84?= =?UTF-8?q?=E5=86=85=E9=83=A8=E4=BA=BA=E5=91=98=E6=98=BE=E7=A4=BA=E6=9C=9F?= =?UTF-8?q?=E6=AC=A1=EF=BC=8C=E8=AE=A1=E5=88=92=E6=97=A5=E6=9C=9F=EF=BC=8C?= =?UTF-8?q?=E7=A7=9F=E9=87=91=EF=BC=8C=E4=B8=9A=E5=8A=A1=E6=9C=AC=E9=87=91?= =?UTF-8?q?=EF=BC=8C=E4=B8=9A=E5=8A=A1=E5=88=A9=E6=81=AF=EF=BC=9B=E8=B4=A2?= =?UTF-8?q?=E5=8A=A1=E6=98=BE=E7=A4=BA=E6=9C=9F=E6=AC=A1=EF=BC=8C=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E6=97=A5=E6=9C=9F=EF=BC=8C=E7=A7=9F=E9=87=91=EF=BC=8C?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E6=9C=AC=E9=87=91=EF=BC=8C=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E5=88=A9=E6=81=AF=EF=BC=8C=E8=B4=A2=E5=8A=A1=E6=9C=AC=E9=87=91?= =?UTF-8?q?=EF=BC=8C=E8=B4=A2=E5=8A=A1=E5=88=A9=E6=81=AF=202.=E6=9C=9F?= =?UTF-8?q?=E6=9C=AB=E4=BF=9D=E8=AF=81=E9=87=91=E5=A4=84=E7=90=86=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E9=9A=90=E8=97=8F=EF=BC=9B=E8=B4=B4=E6=81=AF=E9=87=91?= =?UTF-8?q?=E9=A2=9D=E5=8F=AA=E6=9C=89=E5=AE=89=E9=B9=8F=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E8=83=BD=E7=9C=8B=EF=BC=8C=E7=BB=8F=E9=94=80=E5=95=86=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E7=9C=8B=EF=BC=9B=E6=B5=8B=E7=AE=97=E5=B9=B4=E5=88=A9?= =?UTF-8?q?=E7=8E=87=E5=8F=AA=E7=BB=99=E4=BF=A1=E5=AE=A1=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp | 10 ++++++++++ WebContent/Accounting/LoanSimulation/RentPlanList.jsp | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index 3cc66ae89..63b3587e0 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -139,6 +139,16 @@ }else{ doTemp.setVisible("RENT_RATIO",false); } + + + if(CurUser.hasRole("401")){ + doTemp.setVisible("DISCOUNT", false); + // doTemp.setColumnAttribute("DISCOUNT","colvisible","0"); + } + if(CurUser.hasRole("800R00000013")||CurUser.hasRole("800R00000014")||CurUser.hasRole("800R00000015")){ + doTemp.setVisible("YEAR_RATE", true); + } + ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request); diff --git a/WebContent/Accounting/LoanSimulation/RentPlanList.jsp b/WebContent/Accounting/LoanSimulation/RentPlanList.jsp index 5db469a03..f58de4d96 100644 --- a/WebContent/Accounting/LoanSimulation/RentPlanList.jsp +++ b/WebContent/Accounting/LoanSimulation/RentPlanList.jsp @@ -21,14 +21,13 @@ doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcRentListArachiveShow"); } String Distributor=CurPage.getParameter("isDistributor"); + String orgid = CurUser.getOrgID(); if("true".equals(Distributor)||CurUser.hasRole("401")){ doTemp.setVisible("CORPUS", false); doTemp.setVisible("INTEREST", false); doTemp.setVisible("CORPUS_BUSINESS", false); doTemp.setVisible("INTEREST_BUSINESS", false); - } - String orgid = CurUser.getOrgID(); - if("8009012002".equals(orgid)){ + }else if(!"8009012002".equals(orgid)){ doTemp.setVisible("CORPUS", false); doTemp.setVisible("INTEREST", false); }