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

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.com.countrygarden.bi.main.core.Mapper;
import cn.com.countrygarden.bi.main.dto.investment.InvestProjectProfitVo;
import cn.com.countrygarden.bi.main.model.test.Test;
import cn.com.countrygarden.bi.main.model.investment.InvestProjectProfit;
/**
 * 个人项目收益-数据层
 *
 * @author 汤婷
 * @email www.justintoforest@gamail.com
 * @url 
 * @date 2018-08-20
 */
public interface InvestProjectProfitMapper extends Mapper<InvestProjectProfit>{

	int findInvestProjectProfit(@Param(value="personInvestmentId")String personInvestmentId);
	
	int deleteInvestProjectProfitIds(@Param(value="investRegionInvestmentIds")List<String> investRegionInvestmentIds);
	
	InvestProjectProfitVo findInvestProjectProfitVo(@Param(value="personInvestmentId")String personInvestmentId,@Param(value="regionId")String regionId);
	
	int deleteinvestProjectProfit(@Param(value="personInvestmentId")String personInvestmentId);

}