package com.seeyon.apps.src_contract.lease.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.seeyon.ctp.common.exceptions.BusinessException;

public interface ILeaseContractDao {

	/**
	 * 删除主表辅助租金计算表数据
	 * @param contractCode
	 * @return
	 * @throws SQLException 
	 * @throws BusinessException 
	 */
	public int daleteFZLease(String contractCode) throws BusinessException, SQLException;
	
	/**
	 * 删除主表辅助租金计算表数据
	 * @param contractCode
	 * @return
	 * @throws SQLException 
	 * @throws BusinessException 
	 */
	public int daleteFZLeaseSub(String contractCode) throws BusinessException, SQLException;
	
	/**
	 * 删除主表辅助租金计算表数据
	 * @param contractCode
	 * @return
	 * @throws SQLException 
	 * @throws BusinessException 
	 */
	public List<Map<String,Object>> historyPayment(String contractCode);
	
}
