package incheon.res.rdm.com.unitcst.mapper;

import incheon.com.config.annotation.MainDB;
import incheon.res.rdm.com.unitcst.vo.RdmComUnitcst;
import incheon.res.rdm.com.unitcst.vo.RdmComUnitcstVO;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;

import java.util.List;

@org.egovframe.rte.psl.dataaccess.mapper.Mapper @incheon.com.config.annotation.MainDB
public interface RdmComUnitcstMapper{
	/**
	 * @MethodDESC : 목록조회
	 */
	List selectUnitcstList(RdmComUnitcstVO vo) throws Exception;
	
	/**
	 * @MethodDESC : 사업예정지 변경이력
	 */
	List selectUnitcstHistory(RdmComUnitcstVO vo) throws Exception;
	
	List selectUnitcstListAll(RdmComUnitcstVO vo) throws Exception;
	
	/**
	 * @MethodDESC : 상세조회
	 */
	RdmComUnitcst selectUnitcst(RdmComUnitcstVO vo) throws Exception;

	List selectScaleList(RdmComUnitcstVO vo) throws Exception;
	
	List selectPlanUnitcstList(RdmComUnitcstVO vo) throws Exception;
	
	/**
	 * @MethodDESC : 목록 카운트 조회
	 */
	int countList(RdmComUnitcstVO vo) throws Exception;

	/**
	 * @MethodDESC : 심의의견 등록 및 수정
	 */
	int updateUnitcstDbt(RdmComUnitcstVO vo) throws Exception;
	
	void insertUnitHistory(RdmComUnitcstVO vo) throws Exception;
	
	RdmComUnitcst selectHistoryCount(RdmComUnitcstVO vo) throws Exception;
}