package incheon.res.mng.govoff.mapper;

import incheon.com.config.annotation.MainDB;
import incheon.res.mng.govoff.vo.RdmOeGovoff;
import incheon.res.mng.govoff.vo.RdmOeGovoffVO;
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 RdmOeGovoffMapper {

	/**
	 * @MethodDESC : 자치단체관리 목록조회
	 */
	List selectGovoffList (RdmOeGovoffVO vo) throws Exception;

	/**
	 * @MethodDESC : 자치단체관리 상세목록
	 */
	RdmOeGovoff selectGovoff (RdmOeGovoffVO vo) throws Exception;

		/*EgovMap result = (EgovMap)getSqlMapClientTemplate().queryForObject("rdmOeGovoffDAO.selectGovoff", vo);

		RdmOeGovoff resultDest = new RdmOeGovoff();

		logger.debug("--------------------------------------------" + result);
		DataUtils.copyPropertiesIgnoreNull(resultDest, result);

		logger.debug("________________________" + resultDest);


		return resultDest;*/

	/**
	 * @MethodDESC : 목록조회수
	 */
	int countList (RdmOeGovoffVO vo) throws Exception;

		//return (Integer)getSqlMapClientTemplate().queryForObject("rdmOeGovoffDAO.countList", vo);

	/**
	 * @MethodDESC : 관리기관팝업 카운트
	 */
	int countMngPopList (RdmOeGovoffVO vo) throws Exception;

		//return (Integer)getSqlMapClientTemplate().queryForObject("rdmOeGovoffDAO.countMngListPopup", vo);

	/**
	 * @MethodDESC : 자치단체목록(팝업)조회
	 */
	List selectMngListPopup (RdmOeGovoffVO vo) throws Exception;

	/**
	 * @MethodDESC : 자치단체중복체크
	 */
	String checkMngNam (RdmOeGovoffVO vo) throws Exception;

		//return (String)getSqlMapClientTemplate().queryForObject("rdmOeGovoffDAO.checkMngNam", vo);

	/**
	 * @MethodDESC : 자치단체정보 등록
	 */
	void insertRmtGuifCt (RdmOeGovoffVO vo) throws Exception;

	/**
	 * @MethodDESC : 자치단체정보 수정
	 */
	void updateRmtGuifCt (RdmOeGovoffVO vo) throws Exception;

	/**
	 * @MethodDESC : 자치단체정보 삭제
	 */
	int deleteRmtGuifCt (RdmOeGovoffVO vo) throws Exception;
	
	/**
	 * @MethodDESC : 자치단체관리 상세목록
	 */
	RdmOeGovoff selectGovoffNew (RdmOeGovoffVO vo) throws Exception;

		/*EgovMap result = (EgovMap)getSqlMapClientTemplate().queryForObject("rdmOeGovoffDAO.selectGovoffNew", vo);

		RdmOeGovoff resultDest = new RdmOeGovoff();

		logger.debug("--------------------------------------------" + result);
		DataUtils.copyPropertiesIgnoreNull(resultDest, result);

		logger.debug("________________________" + resultDest);


		return resultDest;*/
}
