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

import incheon.com.config.annotation.MainDB;
import incheon.res.mng.cd.code.vo.MngCdCodeVO;
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 MngCdCodeMapper {
    /**
     * @MethodDESC : 공통코드 리스트 검색
     */
    public List selectCodeList(MngCdCodeVO vo) throws Exception;

    /**
     * @MethodDESC : 코드설명 리스트
     */
    public List selectCdeexpList(MngCdCodeVO vo) throws Exception;

    /**
     * @MethodDESC : 공통코드 count
     */
    public int countCode(MngCdCodeVO vo) throws Exception;

    /**
     * @MethodDESC : 공통코드 등록_코드값 구하기
     */
    public String cdeVal(MngCdCodeVO vo) throws Exception;

    /**
     * @MethodDESC : 공통코드 등록
     */
    public int insertCode(MngCdCodeVO vo) throws Exception;

    /**
     * @MethodDESC : 공통코드 삭제
     */
    public int deleteCode(MngCdCodeVO vo) throws Exception;
}
