diff --git a/WebContent/WEB-INF/etc/jbo/jbo_oti.xml b/WebContent/WEB-INF/etc/jbo/jbo_oti.xml
index d7190b017..6f26d0323 100644
--- a/WebContent/WEB-INF/etc/jbo/jbo_oti.xml
+++ b/WebContent/WEB-INF/etc/jbo/jbo_oti.xml
@@ -392,7 +392,7 @@
-
+
@@ -410,6 +410,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -425,5 +484,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WebContent/WEB-INF/etc/sql/insertIntoCashFlow.xml b/WebContent/WEB-INF/etc/sql/insertIntoCashFlow.xml
new file mode 100644
index 000000000..251916275
--- /dev/null
+++ b/WebContent/WEB-INF/etc/sql/insertIntoCashFlow.xml
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ dataSource
+ false
+
+
+
\ No newline at end of file
diff --git a/WebContent/com/tenwa/apzl/settleLoan/CorpusSourceSettleLoanInfo.jsp b/WebContent/com/tenwa/apzl/settleLoan/CorpusSourceSettleLoanInfo.jsp
new file mode 100644
index 000000000..4e1a3ea38
--- /dev/null
+++ b/WebContent/com/tenwa/apzl/settleLoan/CorpusSourceSettleLoanInfo.jsp
@@ -0,0 +1,26 @@
+<%@ page contentType="text/html; charset=GBK"%><%@
+ include file="/Frame/resources/include/include_begin_info.jspf"%><%
+
+ String fcPrepayQueryID = CurPage.getParameter("fcPrepayQueryID");
+
+ ASObjectModel doTemp = new ASObjectModel("FC_YC_PREPAY_QUERY");
+ doTemp.setJboWhere("id='"+fcPrepayQueryID+"'");
+
+ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
+ dwTemp.Style="2"; //设置DW风格 1:Grid 2:Freeform
+ dwTemp.ReadOnly = "1"; //设置是否只读 1:只读 0:可写
+ dwTemp.genHTMLObjectWindow("");
+
+ String sButtons[][] = {
+ {"true","","Button","返回","返回","returnList()","","","",""},
+ };
+%><%@include file="/Frame/resources/include/ui/include_info.jspf"%>
+
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
diff --git a/WebContent/com/tenwa/apzl/settleLoan/CorpusSourceSettleLoanList.jsp b/WebContent/com/tenwa/apzl/settleLoan/CorpusSourceSettleLoanList.jsp
new file mode 100644
index 000000000..c8abe1a46
--- /dev/null
+++ b/WebContent/com/tenwa/apzl/settleLoan/CorpusSourceSettleLoanList.jsp
@@ -0,0 +1,33 @@
+<%@ page contentType="text/html; charset=GBK"%>
+<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
+ /*
+ Author: undefined 2021-08-04
+ Content:
+ History Log:
+ */
+ ASObjectModel doTemp = new ASObjectModel("FC_YC_PREPAY_QUERY");
+ ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
+ dwTemp.Style="1"; //--设置为Grid风格--
+ dwTemp.ReadOnly = "1"; //只读模式
+ dwTemp.setPageSize(20);
+ dwTemp.genHTMLObjectWindow("");
+
+ //0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
+ String sButtons[][] = {
+ {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
+ };
+%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
+
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
diff --git a/src_jbo/jbo/oti/FC_REQUEST_CHANNEL_LOG.java b/src_jbo/jbo/oti/FC_REQUEST_CHANNEL_LOG.java
new file mode 100644
index 000000000..7921750f1
--- /dev/null
+++ b/src_jbo/jbo/oti/FC_REQUEST_CHANNEL_LOG.java
@@ -0,0 +1,51 @@
+package jbo.oti;
+
+/**
+* 接口资料表 - JBO命名常量类
+* Note: This file is generated by ADE tools, dont modify it.
+
+*/
+public interface FC_REQUEST_CHANNEL_LOG {
+ /**
+ * 接口资料表
+ * 代表本类映射的BizObjectClass
+ */
+ public static final String CLASS_NAME = "jbo.oti.LC_PROFIT_PLAN";
+ /**
+ * 唯一标识 STRING(32)
+ */
+ public static final String ID = "ID";
+ /**
+ * 资方请求id STRING(32)
+ */
+ public static final String FC_REQUEST_ID = "FC_REQUEST_ID";
+ /**
+ * 修改前资方编号 STRING(32)
+ */
+ public static final String PRE_CHANNEL_NO = "PRE_CHANNEL_NO";
+ /**
+ * 修改前资方名称 STRING(32)
+ */
+ public static final String PRE_CHANNEL_NAME = "PRE_CHANNEL_NAME";
+ /**
+ * 修改后资方编号 STRING(32)
+ */
+ public static final String CHANNEL_NO = "CHANNEL_NO";
+ /**
+ * 修改后资方名称 STRING(32)
+ */
+ public static final String CHANNEL_NAME = "CHANNEL_NAME";
+ /**
+ * 描述 STRING(32)
+ */
+ public static final String REMARK = "REMARK";
+ /**
+ * 变更结果 STRING(32)
+ */
+ public static final String CHANGE_RESULT = "CHANGE_RESULT";
+ /**
+ * 创建时间 STRING(32)
+ */
+ public static final String CREATETIME = "CREATETIME";
+
+}
\ No newline at end of file
diff --git a/src_jbo/jbo/oti/FC_YC_FILE_REPAY_RESULT.java b/src_jbo/jbo/oti/FC_YC_FILE_REPAY_RESULT.java
new file mode 100644
index 000000000..814f1ed02
--- /dev/null
+++ b/src_jbo/jbo/oti/FC_YC_FILE_REPAY_RESULT.java
@@ -0,0 +1,79 @@
+package jbo.oti;
+
+/**
+* 接口资料表 - JBO命名常量类
+* Note: This file is generated by ADE tools, dont modify it.
+
+*/
+public interface FC_YC_FILE_REPAY_RESULT {
+ /**
+ * 接口资料表
+ * 代表本类映射的BizObjectClass
+ */
+ public static final String CLASS_NAME = "jbo.oti.FC_YC_FILE_REPAY_RESULT";
+ /**
+ * 唯一标识 STRING(32)
+ */
+ public static final String ID = "ID";
+ /**
+ * 文件ID STRING(32)
+ */
+ public static final String FC_FILE_ID = "FC_FILE_ID";
+ /**
+ * 放款请求编号 STRING(32)
+ */
+ public static final String LOAN_NO = "LOAN_NO";
+ /**
+ * 期次 STRING(32)
+ */
+ public static final String LEND_TERM = "TERM_NO";
+ /**
+ * 还款日期 STRING(32)
+ */
+ public static final String ANS_REPAYMENT_DATE = "NEW_REPAY_DATE";
+ /**
+ * 本金 STRING(32)
+ */
+ public static final String ANS_PRINCIPAL = "ALR_PRINCIPAL";
+ /**
+ * 利息 STRING(32)
+ */
+ public static final String ANS_INTEREST = "ALR_INTEREST";
+ /**
+ * 罚息 STRING(32)
+ */
+ public static final String ALR_PENALTY = "ALR_PENALTY";
+ /**
+ * 归还合计 STRING(32)
+ */
+ public static final String ANS_REPAYMENT_MONEY = "ALR_REPAYMENT_MONEY";
+ /**
+ * 还款标识:0-当期正常结清 、当期逾期结清、1-提前部分还款、2-逾期、3-提前结清 STRING(32)
+ */
+ public static final String REPAYMENT_FLAG = "REPAYMENT_FLAG";
+ /**
+ * 还款来源标识:0:借款人本人账户;1:非借款人本人账户 STRING(32)
+ */
+ public static final String REPAYMENT_SOURCE = "REPAYMENT_SOURCE";
+ /**
+ * 提前还款费用 STRING(32)
+ */
+ public static final String TRADE_FEE = "TRADE_FEE";
+ /**
+ * 还款账号 STRING(32)
+ */
+ public static final String REPAYMENT_ACCOUNT_NO = "REPAYMENT_ACCOUNT_NO";
+ /**
+ * 流水号 STRING(32)
+ */
+ public static final String FLOWNO = "FLOWNO";
+ /**
+ * 创建时间 STRING(32)
+ */
+ public static final String CREATE_TIME = "CREATE_TIME";
+ /**
+ * 修改时间 STRING(32)
+ */
+ public static final String UPDATE_TIME = "UPDATE_TIME";
+
+}
\ No newline at end of file
diff --git a/src_jbo/jbo/oti/FC_YC_PREPAY_QUERY.java b/src_jbo/jbo/oti/FC_YC_PREPAY_QUERY.java
new file mode 100644
index 000000000..397b2b9ea
--- /dev/null
+++ b/src_jbo/jbo/oti/FC_YC_PREPAY_QUERY.java
@@ -0,0 +1,108 @@
+package jbo.oti;
+
+import java.lang.String;
+
+/**
+* 提前结清试算接口内容 - JBO命名常量类
+* Note: This file is generated by ADE tools, dont modify it.
+
+*/
+public interface FC_YC_PREPAY_QUERY{
+ /**
+ * 提前结清试算接口内容
+ * 代表本类映射的BizObjectClass
+ */
+ public static final String CLASS_NAME = "jbo.oti.FC_YC_PREPAY_QUERY";
+ /**
+ * 唯一标识 STRING(32)
+ */
+ public static final String ID = "ID";
+ /**
+ * 资金渠道文件ID STRING(32)
+ */
+ public static final String FC_FILE_ID = "FC_FILE_ID";
+ /**
+ * 资金渠道申请ID STRING(32)
+ */
+ public static final String FC_REQUEST_ID = "FC_REQUEST_ID";
+ /**
+ * 放款申请编号 STRING(32)
+ */
+ public static final String LOAN_NO = "LOAN_NO";
+ /**
+ * 贷款余额 STRING(32)
+ */
+ public static final String LOAN_CAPITAL_BALANCE = "LOAN_CAPITAL_BALANCE";
+ /**
+ * STRING(32)
+ */
+ public static final String FC_FILE_PUSH_NAME = "FC_FILE_PUSH_NAME";
+ /**
+ * 币种 STRING(32)
+ */
+ public static final String CURRENCY = "CURRENCY";
+ /**
+ * 贷款利率 STRING(32)
+ */
+ public static final String LOAN_RATE = "LOAN_RATE";
+ /**
+ * 还款方式 STRING(32)
+ */
+ public static final String REPAY_KIND = "REPAY_KIND";
+ /**
+ * 贷款起期 STRING(32)
+ */
+ public static final String LOAN_BEGIN_DATE = "LOAN_BEGIN_DATE";
+ /**
+ * 贷款止期 STRING(32)
+ */
+ public static final String LOAN_END_DATE = "LOAN_END_DATE";
+ /**
+ * 还款账号 STRING(32)
+ */
+ public static final String REPAY_ACC_NO = "REPAY_ACC_NO";
+ /**
+ * 还款账号余额 STRING(32)
+ */
+ public static final String REPAY_BALANCE = "REPAY_BALANCE";
+ /**
+ * 提前还款类型 STRING(32)
+ */
+ public static final String REPAY_TYPE = "REPAY_TYPE";
+ /**
+ * 当期应还本息金额 STRING(32)
+ */
+ public static final String CURRENT_CAPITAL_BALANCE = "CURRENT_CAPITAL_BALANCE";
+ /**
+ * 当前应还利息 STRING(32)
+ */
+ public static final String CURRENT_CAPITAL_INT = "CURRENT_CAPITAL_INT";
+ /**
+ * 拖欠本金 STRING(32)
+ */
+ public static final String OVERDUE_CAPITAL_BALANCE = "OVERDUE_CAPITAL_BALANCE";
+ /**
+ * 拖欠利息 STRING(32)
+ */
+ public static final String OVERDUE_CAPITAL_INT = "OVERDUE_CAPITAL_INT";
+ /**
+ * 申请日期 STRING(32)
+ */
+ public static final String RECORD_DATE = "RECORD_DATE";
+ /**
+ * 归还本息金额 STRING(32)
+ */
+ public static final String PREREPAY_AMOUNT = "PREREPAY_AMOUNT";
+ /**
+ * 提前归还本金金额 STRING(32)
+ */
+ public static final String PREREPAY_AMOUNT1 = "PREREPAY_AMOUNT1";
+ /**
+ * 创建时间 STRING(32)
+ */
+ public static final String CREATE_TIME = "CREATE_TIME";
+ /**
+ * 修改时间 STRING(32)
+ */
+ public static final String UPDATE_TIME = "UPDATE_TIME";
+}
\ No newline at end of file
diff --git a/src_tenwa/com/tenwa/lease/app/quartzmession/CorpusSourceFileCopy.java b/src_tenwa/com/tenwa/lease/app/quartzmession/CorpusSourceFileCopy.java
index 691cb7e35..71d50f68d 100644
--- a/src_tenwa/com/tenwa/lease/app/quartzmession/CorpusSourceFileCopy.java
+++ b/src_tenwa/com/tenwa/lease/app/quartzmession/CorpusSourceFileCopy.java
@@ -7,10 +7,13 @@ import com.amarsoft.awe.util.Transaction;
import com.base.util.QuartzUtil;
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
import com.tenwa.reckon.executor.CreateTransactionExecutor;
-import jbo.app.tenwa.calc.LC_CALC_CONDITION;
-import jbo.app.tenwa.calc.LC_RENT_PLAN;
-import jbo.app.tenwa.calc.LC_RENT_PLAN_HIS;
+import jbo.app.tenwa.calc.*;
+import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO;
+import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP;
+import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO;
+import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP;
import jbo.oti.FC_FILE_PUSH;
+import jbo.oti.FC_REQUEST_CHANNEL_LOG;
import jbo.oti.FC_YC_FILE_REPAY_PLAN;
import jbo.oti.LC_PROFIT_PLAN;
import org.quartz.Job;
@@ -20,10 +23,7 @@ import org.quartz.JobExecutionException;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
import static java.math.BigDecimal.ROUND_HALF_UP;
@@ -35,11 +35,8 @@ public class CorpusSourceFileCopy {
private String contractId;
private String fileType;
- public void doCopy(JBOTransaction tx) throws JobExecutionException {
+ public void doCopy(JBOTransaction tx) throws Exception {
BizObjectManager ffpBom = null;
- Transaction Sqlca = null;
- try {
- Sqlca = Transaction.createTransaction(tx);
ffpBom = JBOFactory.getBizObjectManager(FC_FILE_PUSH.CLASS_NAME,tx);
//todo 添加渠道商的选择,哪些需要拷表哪些不需要
String fileSql = "select ID,FILE_STS from O where FILE_TYPE='"+fileType+"' and FILE_STS='2'";
@@ -55,18 +52,6 @@ public class CorpusSourceFileCopy {
ffpBo.setAttributeValue("FILE_STS_DESC","拷贝成功");
ffpBom.saveObject(ffpBo);
}
- Sqlca.commit();
- } catch (Exception e) {
- e.printStackTrace();
- try {
- if (Sqlca != null) {
- Sqlca.rollback();
- }
- } catch (JBOException e1) {
- e1.printStackTrace();
- }
- throw new JobExecutionException(e);
- }
}
/**
@@ -100,7 +85,7 @@ public class CorpusSourceFileCopy {
Transaction Sqlca = Transaction.createTransaction(tx);
//===顺序不能错===
//0.将租金计划拷贝到历史表
- copyRentPlanFormatToHis(contractMap,tx);
+ copyRentPlanFormatToHis(contractMap,"安鹏原正式租金计划",tx);
//1.更新租金计划表(直接文件每条信息更新,不需要遍历)
updateRentPlan(fyfrpBoList,tx);
for(Map.Entry entry : contractMap.entrySet()){
@@ -139,18 +124,79 @@ public class CorpusSourceFileCopy {
* @param tx
* @throws Exception
*/
- public void copyRentPlanFormatToHis(Map contractMap ,JBOTransaction tx) throws Exception {
+ public void copyRentPlanFormatToHis(Map contractMap ,String memo,JBOTransaction tx) throws Exception {
for(Map.Entry entry: contractMap.entrySet()){
- Map fromCondtion=new HashMap();
- fromCondtion.put("CONTRACT_ID",entry.getKey());
-
- Map otherProperty=new HashMap();
- otherProperty.put("MEMO", "安鹏原正式租金计划");
- otherProperty.put("FLOWUNID", entry.getValue());
-
- DataOperatorUtil.copyJBOSet(LC_RENT_PLAN.CLASS_NAME, fromCondtion, LC_RENT_PLAN_HIS.CLASS_NAME,null, otherProperty, null, tx);
+ this.copyRentPlanFormatToHis(entry.getKey(),entry.getValue(),memo,tx);
}
}
+
+ /**
+ * copy租金计划到历史表
+ * @param contractId
+ * @param fcRequestId
+ * @param tx
+ * @throws Exception
+ */
+ public void copyRentPlanFormatToHis(String contractId,String fcRequestId,String memo,JBOTransaction tx) throws Exception {
+
+ Map fromCondtion=new HashMap();
+ fromCondtion.put("CONTRACT_ID",contractId);
+
+ Map otherProperty=new HashMap();
+ otherProperty.put("MEMO", memo);
+ otherProperty.put("FLOWUNID", fcRequestId);
+
+ copyRentPlanFormatToHis(fromCondtion,null,otherProperty,tx);
+
+ }
+
+ /**
+ * copy租金计划到历史表
+ * @param fromCondtion
+ * @param toCondtion
+ * @param otherProperty
+ * @param tx
+ * @throws Exception
+ */
+ public void copyRentPlanFormatToHis(Map fromCondtion,Map toCondtion,Map otherProperty,JBOTransaction tx) throws Exception {
+
+ DataOperatorUtil.copyJBOSet(LC_RENT_PLAN.CLASS_NAME, fromCondtion, LC_RENT_PLAN_HIS.CLASS_NAME,toCondtion, otherProperty, null, tx);
+
+ }
+
+ /**
+ * copy租金计划到历史表
+ * @param contractId
+ * @param fcRequestId
+ * @param tx
+ * @throws Exception
+ */
+ public void copyCashFlowFormatToHis(String contractId,String fcRequestId,JBOTransaction tx) throws Exception {
+
+ Map fromCondtion=new HashMap();
+ fromCondtion.put("CONTRACT_ID",contractId);
+
+ Map otherProperty=new HashMap();
+ otherProperty.put("FLOWUNID", fcRequestId);
+
+ copyCashFlowFormatToHis(fromCondtion,null,otherProperty,tx);
+
+ }
+
+ /**
+ * copy租金计划到历史表
+ * @param fromCondtion
+ * @param toCondtion
+ * @param otherProperty
+ * @param tx
+ * @throws Exception
+ */
+ public void copyCashFlowFormatToHis(Map fromCondtion,Map toCondtion,Map otherProperty,JBOTransaction tx) throws Exception {
+
+ DataOperatorUtil.copyJBOSet(LC_CASH_FLOW.CLASS_NAME, fromCondtion, LC_CASH_FLOW_HIS.CLASS_NAME,toCondtion, otherProperty, null, tx);
+
+ }
+
/**
* 获取对应的合同ID
* @param fyfrpBoList
@@ -197,7 +243,6 @@ public class CorpusSourceFileCopy {
lrpBo.setAttributeValue("CORPUS_BUSINESS",principal);
lrpBo.setAttributeValue("INTEREST_BUSINESS",interest);
lrpBo.setAttributeValue("PLAN_DATE",repaymentDate);
- lrpBo.setAttributeValue("RENT",repaymentMoney);
lrpBom.saveObject(lrpBo);
}
}
@@ -337,6 +382,181 @@ public class CorpusSourceFileCopy {
insertProfitPlan(param,tx);
}
+ /**
+ * 变更资方
+ * @param param
+ * @param tx
+ * @throws JBOException
+ */
+ public void changeCorpusSource(Map param,JBOTransaction tx) throws JBOException {
+ String sql = "update O set corpus_source='AP' where ";
+ JBOFactory.getBizObjectManager(LB_PROJECT_INFO.CLASS_NAME,tx).createQuery(sql+"id=:projectId").setParameter("projectId",param.get("projectId")).executeUpdate();
+ JBOFactory.getBizObjectManager(LB_CONTRACT_INFO.CLASS_NAME,tx).createQuery(sql+"project_id=:projectId").setParameter("projectId",param.get("projectId")).executeUpdate();
+ JBOFactory.getBizObjectManager(LB_PROJECT_INFO_TEMP.CLASS_NAME,tx).createQuery(sql+"project_no=:projectNo").setParameter("projectNo",param.get("projectNo")).executeUpdate();
+ JBOFactory.getBizObjectManager(LB_CONTRACT_INFO_TEMP.CLASS_NAME,tx).createQuery(sql+"project_id=:projectId").setParameter("projectId",param.get("projectId")).executeUpdate();
+
+ }
+
+ /**
+ * 资方变更插入日志
+ * @param param
+ * @param tx
+ * @throws JBOException
+ */
+ public void saveCorpusSourceChangeLog(Map param ,int result,JBOTransaction tx) throws JBOException {
+ BizObjectManager frclBom = JBOFactory.getBizObjectManager(FC_REQUEST_CHANNEL_LOG.CLASS_NAME,tx);
+ BizObject frclBo = frclBom.newObject();
+ frclBo.setAttributeValue("FC_REQUEST_ID",param.get("fcRequestId"));
+ frclBo.setAttributeValue("PRE_CHANNEL_NO",param.get("channelNo"));
+ frclBo.setAttributeValue("PRE_CHANNEL_NAME",param.get("channelName"));
+ frclBo.setAttributeValue("CHANNEL_NO","AP");
+ frclBo.setAttributeValue("CHANNEL_NAME","安鹏自有资金");
+ frclBo.setAttributeValue("REMARK","回购为安鹏自有资金");
+ frclBo.setAttributeValue("CHANGE_RESULT",result);
+ frclBo.setAttributeValue("CREATETIME",StringFunction.getTodayNow());
+ frclBom.saveObject(frclBo);
+ }
+
+ /**
+ * 更新租金计划(提前结清)
+ * @param param
+ * @param tx
+ * @throws JBOException
+ */
+ public void updateSettleRentPlan(Map param ,JBOTransaction tx) throws JBOException {
+ BizObjectManager lrpBom = JBOFactory.getBizObjectManager(LC_RENT_PLAN.CLASS_NAME,tx);
+ //更新租金计划信息(提前结清当期期次)
+ BizObject lrpBo = lrpBom.createQuery("contract_id=:contractId and plan_list=:planList").setParameter("contractId",param.get("contractId")).setParameter("planList",param.get("termNo")).getSingleResult(true);
+ lrpBo.setAttributeValue("PLAN_DATE",param.get("repaymentDate"));
+ lrpBo.setAttributeValue("RENT",param.get("rent"));
+ lrpBo.setAttributeValue("CORPUS",param.get("principal"));
+ lrpBo.setAttributeValue("INTEREST",param.get("interest"));
+ lrpBo.setAttributeValue("CORPUS_BUSINESS",param.get("principal"));
+ lrpBo.setAttributeValue("INTEREST_BUSINESS",param.get("interest"));
+ lrpBo.setAttributeValue("ALL_REMAIN_CORPUS",param.get("0.00"));
+ lrpBom.saveObject(lrpBo);
+ //删除租金计划信息(大于提前结清当期期次的)
+ lrpBom.createQuery("delete from O where contract_id=:contractId and plan_list>:plan_list").setParameter("contractId",param.get("contractId")).setParameter("planList",param.get("termNo")).executeUpdate();
+ }
+
+ /**
+ * 获取插入租金实收表的所有参数
+ * @param fyfrrBoList
+ * @param tx
+ * @return
+ * @throws Exception
+ */
+ public List