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 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 fp, String docId,String markName,String markValue) throws Exception { // 删除 FundFundChargeDAOImpl ffd = new FundFundChargeDAOImpl(); ffd.deleteFundFundCharge( docId); //新增 ffd.addFundFundCharge(docId,fp,markName,markValue); return true; } }