package incheon.ags.dss.status.mapper;

import java.util.List;

import incheon.ags.dss.status.vo.AnaIdctMstVO;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;

@Mapper 
@incheon.com.config.annotation.MainDB 
public interface AnaIdctMstMapper {

    /** 사용자 정의 지표 마스터 등록 */
    void insertAnaIdctMst(AnaIdctMstVO vo) throws Exception;

    /** 사용자 정의 지표 마스터 상세 조회 */
    AnaIdctMstVO selectAnaIdctMstDetail(AnaIdctMstVO vo) throws Exception;

    /** 사용자 정의 지표 마스터 수정 */
    void updateAnaIdctMst(AnaIdctMstVO vo) throws Exception;

    /** 사용자 정의 지표 마스터 삭제 
     * @return */
    int deleteAnaIdctMst(AnaIdctMstVO vo) throws Exception;

    /** 사용자 정의 지표 마스터 목록 조회 */
    List<AnaIdctMstVO> selectAnaIdctMstList(AnaIdctMstVO vo) throws Exception;

    /** 사용자 정의 지표 마스터 목록 총 개수 */
    int selectAnaIdctMstListCnt(AnaIdctMstVO vo) throws Exception;
    
    int selectAnaIdctExstCnt(String idctId) throws Exception;
}