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

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.ReviewAnswerBeforeVo;
import cn.com.countrygarden.bi.main.dto.ReviewInvestigationVo;
import cn.com.countrygarden.bi.main.dto.reviewInvestigatedIsRepeatVo;
import cn.com.countrygarden.bi.main.model.review.ReviewInvestigated;
/**
 * 被调查人-数据层
 *
 * @author 汤婷
 * @email www.justintoforest@gamail.com
 * @url 
 * @date 2018-06-25
 */
public interface ReviewInvestigatedMapper extends Mapper<ReviewInvestigated>{
	
	List<ReviewInvestigationVo> selectInvestigationVoList(ReviewInvestigationVo reviewinvesti);
	/**
	 * 答理前返回的数据
	 * @param investigatedId
	 * @return
	 */
	
	reviewInvestigatedIsRepeatVo selectInvestigatedIsRepeatVo(@Param(value="investigatedId")int investigatedId,@Param(value="reviewJudgeId")int reviewJudgeId);

	ReviewAnswerBeforeVo selectAnswerBeforeVo(@Param(value="investigatedId")int investigatedId,@Param(value="questionnaireId")int questionnaireId);

}