package incheon.res.mng.us.vusr.service.impl;

import incheon.res.mng.us.vusr.mapper.MngUsVusrMapper;
import incheon.res.mng.us.vusr.service.MngUsVusrService;
import incheon.res.mng.us.vusr.vo.MngUsVusrVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MngUsVusrServiceImpl implements MngUsVusrService {

	@Resource
	private MngUsVusrMapper mngUsVusrMapper;

	public int countVusr(MngUsVusrVO vo) throws Exception {
		return mngUsVusrMapper.countVusr(vo);
	}

	public List selectVusrList(MngUsVusrVO vo) throws Exception {
		return mngUsVusrMapper.selectVusrList(vo);
	}

	public MngUsVusrVO selectVusr(MngUsVusrVO vo) throws Exception {
		MngUsVusrVO vusrVo = new MngUsVusrVO();
		vusrVo = mngUsVusrMapper.selectVusr(vo);
		return vusrVo;
	}

}
