提前结清功能约定终止日调整
This commit is contained in:
parent
453e4ee8f1
commit
cba1f1d92f
@ -337,9 +337,7 @@ public class EarlyContract {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
YesNo = Sqlca.getString("select case when count(id)=0 then 'Y' else 'N' end from lb_equipment_car_temp lect where FLOWUNID = '"+flowunid+"' and id not in ("+idss+") and (TERMINATE_TYPE = '1' or TERMINATE_TYPE is null)");
|
||||
|
||||
}catch(Exception e) {
|
||||
try {
|
||||
Sqlca.rollback();
|
||||
@ -511,7 +509,7 @@ public class EarlyContract {
|
||||
* 变更租金计划表
|
||||
*/
|
||||
// 获取日期大于约定终止日所在月的租金计划,按比例算出每期租金,本金,利息,在约定终止日那一月汇总后边的
|
||||
String planlist = Sqlca.getString("select max(PLAN_LIST) from LC_RENT_PLAN where CONTRACT_ID = '"+contractId+"' and STR_TO_DATE(PLAN_DATE,'%Y/%m/%d')<= STR_TO_DATE('2022/04/05','%Y/%m/%d')");
|
||||
String planlist = Sqlca.getString("select max(PLAN_LIST) from LC_RENT_PLAN where CONTRACT_ID = '"+contractId+"' and STR_TO_DATE(PLAN_DATE,'%Y/%m/%d')<= STR_TO_DATE('"+paydayAdjust+"','%Y/%m/%d')");
|
||||
BizObjectManager lrptBm = JBOFactory.getBizObjectManager("jbo.app.tenwa.calc.LC_RENT_PLAN_TEMP",Sqlca);
|
||||
List<BizObject> lrptBoList = lrptBm.createQuery("FLOWUNID='"+flowunid+"' and plan_list >= '"+planlist+"' order by plan_list desc").getResultList(true);
|
||||
//查询结清租金
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user