package incheon.res.rdm.oe.intusr.service.impl;


import incheon.res.rdm.oe.intusr.mapper.RmtUserDtMapper;
import incheon.res.rdm.oe.intusr.service.RmtUserDtService;
import incheon.res.rdm.oe.intusr.vo.RmtUserDtVO;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
import org.springframework.stereotype.Service;

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


@Service
public class RmtUserDtServiceImpl extends EgovAbstractServiceImpl implements RmtUserDtService {
	protected Log log = LogFactory.getLog(this.getClass());
	
	@Resource
	private RmtUserDtMapper rmtUserDtMapper;


	@Override
	public int requestUser(RmtUserDtVO vo) throws Exception{
		return rmtUserDtMapper.requestUser(vo);
	}

	/**
	 * @MethodDESC : 신청자 사용 승인 취소
	 */
	@Override
	public int approveRequsr(RmtUserDtVO vo) throws Exception{
		return rmtUserDtMapper.approveRequsr(vo);
	}
	/**
	 * @MethodDESC : 신청자 사용 승인 취소
	 */
	@Override
	public int rejectRequsr(RmtUserDtVO vo) throws Exception{
		return rmtUserDtMapper.rejectRequsr(vo);
	}
	/**
	 * @MethodDESC : 신청자 사용 승인 일괄 취소
	 */
	@Override
	public int rejectUsrBatch(RmtUserDtVO vo) throws Exception{
		return rmtUserDtMapper.rejectUsrBatch(vo);
	}
	/**
	 * @MethodDESC : 신청자 정보 입력
	 */
	@Override
	public void insertMngRmtUser(RmtUserDtVO vo) throws Exception{
		rmtUserDtMapper.insertMngRmtUser(vo);
	}

}
