起租后合同变更修改,租金计划部分期次有回笼,支持变更未回笼状态的租金计划
This commit is contained in:
parent
20b14f87b9
commit
2f36f65a34
@ -29,7 +29,8 @@ public class LBRentPlanTempCallBack extends BaseImportExcelCallBack {
|
||||
|
||||
BizObject virent=JBOFactory.createBizObjectQuery(VI_LC_RENT_PLAN.CLASS_NAME,"payment_number=:paymentnumber and plan_list=:planlist").setParameter("paymentnumber", paymentnumber).setParameter("planlist", planlist).getSingleResult(false);
|
||||
if(virent!=null&&!virent.getAttribute("planstatus").getString().equals("δ»ØÁý")){
|
||||
throw new BusinessException("租金计划期次:"+planlist+"已回笼不能修改");
|
||||
return;
|
||||
// throw new BusinessException("租金计划期次:"+planlist+"已回笼不能修改");
|
||||
}
|
||||
BigDecimal rent=new BigDecimal(NumberUtils.round(importObject.getAttribute("rent").getDouble(),2)+"");
|
||||
BigDecimal CORPUS=new BigDecimal(NumberUtils.round(importObject.getAttribute("CORPUS").getDouble(),2)+"");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user