package incheon.sgp.drm.mapper;

import incheon.ags.drm.vo.DrmContentVO;
import incheon.ags.drm.vo.DrmOrthoVO;
import incheon.ags.drm.vo.DrmPoiVO;
import incheon.ags.drm.vo.DrmResultVO;
import incheon.cmm.g2f.layer.vo.TaskLayerSearchRequestDTO;
import incheon.cmm.g2f.layer.vo.TaskLayerVO;
import incheon.com.config.annotation.ExternalDB;
import incheon.com.config.annotation.MainDB;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;

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

@Mapper @MainDB
public interface sgpDrmMapper {

    List<TaskLayerVO> getLayerList(TaskLayerSearchRequestDTO searchVO);
    List<Map<String, Object>> getAddressByPoint(String pnu) throws Exception;

    /* DRM_POI */
    List<DrmPoiVO> selectPOIList(DrmPoiVO drmPoiVO) throws Exception;
    int selectPOIListCnt(DrmPoiVO drmPoiVO) throws Exception;
    DrmPoiVO searchPoiDetail(DrmPoiVO drmPoiVO) throws Exception;

    /* CONTENT */
    List<DrmContentVO> selectContentList(DrmContentVO drmContentVO) throws Exception;
    int selectContentListCnt(DrmContentVO drmContentVO) throws Exception;
    DrmContentVO searchContentDetail(Long contsId) throws Exception;
}
