From a741644e09b3928e1513c94c94c28d0213f2e806 Mon Sep 17 00:00:00 2001 From: jianghongdong Date: Fri, 20 Jul 2018 10:22:48 +0800 Subject: [PATCH] =?UTF-8?q?234=5F=E4=BF=9D=E8=AF=81=E9=87=91=E6=8A=B5?= =?UTF-8?q?=E6=89=A3=E7=94=B3=E8=AF=B7=E5=8F=AA=E8=83=BD=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=9C=80=E5=90=8E=E4=B8=80=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CautionMoneyDeduction/VILCRentPlanForDeductionList.jsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/VILCRentPlanForDeductionList.jsp b/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/VILCRentPlanForDeductionList.jsp index 27a6e30a7..de6fa0a53 100644 --- a/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/VILCRentPlanForDeductionList.jsp +++ b/WebContent/Tenwa/Lease/Flow/Rent/CautionMoneyDeduction/VILCRentPlanForDeductionList.jsp @@ -8,9 +8,13 @@ String phaseNo = CurPage.getParameter("PhaseNo"); String flowunid = CurPage.getParameter("FlowUnid"); String rightType = CurPage.getParameter("RightType"); + String FlowNo = CurPage.getParameter("FlowNo"); String paymentNumber = JBOFactory.createBizObjectQuery(FLOW_BUSSINESS_OBJECT.CLASS_NAME, "flow_unid=:flowunid") .setParameter("flowunid", flowunid).getSingleResult(false).getAttribute("flow_key").getString(); ASObjectModel doTemp = new ASObjectModel("VILCRentPlanForDeductionList"); + if("CautionMoneyDeductionFlow".equals(FlowNo)){ + doTemp.appendJboWhere(" and O.plan_list =(select max(pl.plan_list) from jbo.app.tenwa.calc.VI_LC_RENT_PLAN pl WHERE pl.payment_number ='"+paymentNumber+"' AND (pl.rent_over > 0 OR pl.penalty_over > 0 ))"); + } ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.ReadOnly = "1"; //只读模式