package incheon.res.mng.cd.post.mapper;

import incheon.com.config.annotation.MainDB;
import incheon.res.mng.cd.post.vo.MngCdPost;
import incheon.res.mng.cd.post.vo.MngCdPostVO;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@org.egovframe.rte.psl.dataaccess.mapper.Mapper @incheon.com.config.annotation.MainDB public interface MngCdPostMapper {
    /**
     * @MethodDESC : 우편번호  리스트 검색
     */
    public List selectPostList(MngCdPostVO vo) throws Exception;

    /**
     * @MethodDESC : 우편번호 count
     */
    public int countPost(MngCdPostVO vo) throws Exception;

    /**
     * @MethodDESC : 우편번호 삭제
     */
    public int deletePost(MngCdPostVO vo) throws Exception;

    /**
     * @MethodDESC : 우편번호  등록
     */
    public int insertPost(MngCdPostVO vo) throws Exception;

    /**
     * @MethodDESC : 우편번호 수정 하기위한 전 처리
     */
    public MngCdPost updatePostView(MngCdPostVO vo) throws Exception;

    /**
     * @MethodDESC : 우편번호  수정
     */
    public int updatePost(MngCdPostVO vo) throws Exception;

    /**
     * @MethodDESC : 우편번호 등록시 중복체크
     */
    public int chkPost(MngCdPostVO vo) throws Exception;
}
