package incheon.sgp.rst.service.impl;



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

import org.springframework.stereotype.Service;

import incheon.sgp.rst.mapper.RstPpltnMapper;
import incheon.sgp.rst.service.RstPpltnService;
import incheon.sgp.rst.vo.RstPpltnVO;

/**
 * @ClassName : RstPpltnServiceImpl.java
 * @Description : 전입/전출 인구통계 서비스 구현체
 * @author : 이주훈
 * @since : 2025.11.10
 * @version : 1.0
 */
@Service
public class RstPpltnServiceImpl  implements RstPpltnService {

	// 매퍼 주입
    private final RstPpltnMapper rstPpltnMapper; 

    // 매퍼 생성자 주입
    public RstPpltnServiceImpl(RstPpltnMapper rstPpltnMapper) {
        this.rstPpltnMapper = rstPpltnMapper;
    }
    
    @Override
    public Map<String, Object> getCrtrYmRangePpltn() {
        return rstPpltnMapper.getCrtrYmRangePpltn();
    }
    
    @Override
    public List<RstPpltnVO> selectMvInList(RstPpltnVO vo) {
        return rstPpltnMapper.selectMvInList(vo);
    }
    
    @Override
    public List<RstPpltnVO> selectMvOutList(RstPpltnVO vo) {
        return rstPpltnMapper.selectMvOutList(vo);
    }
    
}
