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

import cn.com.countrygarden.bi.main.core.Mapper;
import cn.com.countrygarden.bi.main.dto.advise.param.AdviseFeedbackParam;
import cn.com.countrygarden.bi.main.dto.advise.AfAdviseFeedbackListVO;
import cn.com.countrygarden.bi.main.dto.advise.AfAdviseFeedbackOneVO;
import cn.com.countrygarden.bi.main.model.advise.AfAdviseFeedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * 建言-数据层
 *
 * @author 木木子
 * @email 944528607@qq.com
 * @url 
 * @date 2019-04-15
 */
public interface AfAdviseFeedbackMapper extends Mapper<AfAdviseFeedback>{

	List<AfAdviseFeedbackListVO> selectAdviseFeedbackList(@Param("adviseFeedbackParam")AdviseFeedbackParam adviseFeedbackParam);

	AfAdviseFeedbackOneVO selectAdviseFeedbackOne(@Param("adviseFeedback")AfAdviseFeedback afAdviseFeedback);

	/**
	 * 更改建言是否超时状态
	 * @param adviseFeedbackIds ：建言ids
	 * @return
	 */
	int batchUpdateAfAdviseFeedback(@Param("adviseFeedbackIds")List<Integer> adviseFeedbackIds);
}