package cn.com.countrygarden.bi.main.dao.investment;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.com.countrygarden.bi.main.core.Mapper;
import cn.com.countrygarden.bi.main.model.test.Test;
import cn.com.countrygarden.bi.main.model.investment.InvestProjectAccount;
/**
 * -数据层
 *
 * @author 汤婷
 * @email www.justintoforest@gamail.com
 * @url 
 * @date 2018-10-05
 */
public interface InvestProjectAccountMapper extends Mapper<InvestProjectAccount>{

	BigDecimal findFollowCapitalAccountSum(@Param(value="id")Integer id);
	
	BigDecimal findInvestProjectAccountSum(@Param(value="investRegionInvestmentId")Integer investRegionInvestmentId,@Param(value="projectName") String projectName);
	Integer findInvestProjectAccountInvestProjectInvestmentId(@Param(value="investRegionInvestmentId")Integer investRegionInvestmentId,@Param(value="projectName") String projectName);
	InvestProjectAccount findInvestProjectAccount(@Param(value="id")Integer id,@Param(value="projectName") String projectName);
}