234_保证金抵扣申请只能选择最后一期
This commit is contained in:
parent
9cdcb29810
commit
a741644e09
@ -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"; //Ö»¶Áģʽ
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user