package incheon.ags.ias.logInq.service.impl;

import incheon.ags.ias.logInq.mapper.LogInqMapper;
import incheon.ags.ias.logInq.service.LogInqService;
import incheon.ags.ias.logInq.vo.LogInqSearchVO;
import incheon.ags.ias.logInq.vo.LogInqVO;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
import org.springframework.stereotype.Service;

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

@Slf4j
@Service("logInqService")
@RequiredArgsConstructor
public class LogInqServiceImpl extends EgovAbstractServiceImpl implements LogInqService {
    private final LogInqMapper logInqMapper;

    @Override
    public List<Map<String,Object>> selectLogInqList(LogInqSearchVO logInqSearchVO) throws Exception {
        return logInqMapper.selectLogInqList(logInqSearchVO);
    }

    @Override
    public LogInqVO selectLogInqDetail(LogInqVO logInqVO) throws Exception {
        return logInqMapper.selectLogInqDetail(logInqVO);
    }

    @Override
    public int selectLogInqCnt(LogInqSearchVO logInqSearchVO) throws Exception {
        return logInqMapper.selectLogInqCnt(logInqSearchVO);
    }

}
