apzl_leasing/calc/com/tenwa/reckon/adjustInterest/service/AjustInterestService.java
2018-06-03 22:26:41 +08:00

73 lines
3.0 KiB
Java

package com.tenwa.reckon.adjustInterest.service;
import java.util.Map;
import com.amarsoft.are.jbo.JBOTransaction;
public interface AjustInterestService {
//1.将央行调息记录正式表的数据copy到央行调息记录临时表
public void updateCopyFundAdjustInterestContractToTemp(String doc_id,JBOTransaction tx) throws Exception;
//2.将租金计划临时表copy到租金计划历史表
public void updateCopyFundRentPlanFromTempToHisAfter(String doc_id,JBOTransaction tx) throws Exception;
//3.将现金流临时表copy到现金流历史表
public void updateCopyFundRentCashFromTempToHis(String doc_id,JBOTransaction tx) throws Exception;
//4.将交易结构临时表copy到交易结构历史表
public void updateCopyConditionFromTempToHis(String doc_id,JBOTransaction tx) throws Exception;
//5.将租金计划正式表copy到租金计划历史表
public void updateCopyFundRentPlanToHisAfter(String doc_id,JBOTransaction tx) throws Exception;
//6.将现金流正式表copy到现金流历史表
public void updateCopyFundRentCashToHis(String doc_id,JBOTransaction tx) throws Exception;
//7.将交易结构正式表copy到交易结构历史表
public void updateCopyConditionToHis(String doc_id,JBOTransaction tx) throws Exception;
public void updateCopyFundRentPlanFromTempToHisBefore(Map<String, String> model) throws Exception;
/**
* 央行调息回滚 FUND_ADJUST_INTEREST_CONTRACT to FUND_ADJUST_INTEREST_C_TEMP
*/
public void updateCopyFundAdjustInterestContractFromHisToTemp(String doc_id,JBOTransaction tx) throws Exception;
public void updateCopyFundRentPlanFromHisToTemp(Map<String,String> model) throws Exception;
public void updateCopyFundRentCashFromHisToTemp(Map<String,String> model)throws Exception;
public void updateCopyConditionFromHisToTemp(Map<String,String> model)throws Exception;
public void removeFundAdjustInterestCTemp(Map<String,String> model)throws Exception;
public void removeFundRentPlanFromHisToTemp(Map<String,String> model)throws Exception;
//删除现金流
public void removeFundRentCash(String doc_id,JBOTransaction tx)throws Exception;
//删除商务条件
public void removeCondition(String doc_id,JBOTransaction tx)throws Exception;
public void updateFundRentPlan(Map<String,String> model)throws Exception;
//现金流临时表update到正式表
public void updateFundRentCash(String doc_id,JBOTransaction tx)throws Exception;
//商务条件临时表update到正式表
public void updateCondition(String doc_id,JBOTransaction tx)throws Exception;
public void updateStatusTo(Map<String,String> model)throws Exception;
public void updateFundAdjustInterestContract(Map<String,String> model)throws Exception;
//将租金计划临时表update到租金计划正式表
public void updateCopyFundRentPlanFromTempToOfficial(String doc_id) throws Exception;
public void updateCopyFundRentPlanFromTempToHisBeforeAndAfter(Map<String, String> model) throws Exception;
public void deleteHisAllSqlOfTx(String docid) throws Exception;
public void deleteHisAllSqlOfTx(String docId,String contractId) throws Exception;
public void createVoucherForRegulatingBreathing(Map<String,String> model) throws Exception;
}