apzl_leasing/calc/com/tenwa/reckon/help/FundFundChargeServiceImpl.java
2018-06-03 22:26:41 +08:00

42 lines
950 B
Java

package com.tenwa.reckon.help;
import java.util.List;
import com.tenwa.reckon.bean.ConditionBean;
import com.tenwa.reckon.bean.FundPlanBean;
import com.tenwa.reckon.bean.TabCalBean;
public class FundFundChargeServiceImpl {
/**
*
* ( //租金测算时先删除,后新增交易结构信息)
*
* @param tcb
* @param cb
* @return
* @throws Exception
*/
public boolean addFundFundTemp(List<FundPlanBean> fp, ConditionBean cb,TabCalBean tcb) throws Exception {
// 删除
FundFundChargeDAOImpl ffd = new FundFundChargeDAOImpl();
ffd.deleteFundFundCharge( cb,tcb);
//新增
ffd.addFundFundCharge(cb,fp,tcb);
return true;
}
public boolean addFundFundTemp(List<FundPlanBean> fp, String docId,String markName,String markValue) throws Exception {
// 删除
FundFundChargeDAOImpl ffd = new FundFundChargeDAOImpl();
ffd.deleteFundFundCharge( docId);
//新增
ffd.addFundFundCharge(docId,fp,markName,markValue);
return true;
}
}