package incheon.ags.ias.menu.mapper;

import incheon.ags.ias.menu.vo.MenuSearchVO;
import incheon.ags.ias.menu.vo.MenuVO;
import incheon.com.config.annotation.MainDB;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import org.egovframe.rte.psl.dataaccess.util.EgovMap;

import java.util.List;
import java.util.Map;

@org.egovframe.rte.psl.dataaccess.mapper.Mapper @incheon.com.config.annotation.MainDB
public interface MenuMapper {
    List<Map<String,Object>> selectMenuList(MenuSearchVO menuVO) throws Exception;
    List<Map<String,Object>> selectMenuListFromSysCd(String sysCd) throws Exception;
    List<Map<String,Object>> selectSysInfoList() throws Exception;
    int selectMenuListCnt(MenuSearchVO menuSearchVO) throws Exception;
    MenuVO selectMenuDetail(MenuVO menuVO) throws Exception;
    List<Map<String,Object>> selectSubmenuList(MenuVO menuVO) throws Exception;
    int insertMenu(MenuVO menuVO) throws Exception;
    int updateMenu(MenuVO menuVO) throws Exception;
    int deleteMenu(MenuVO menuVO) throws Exception;
}