package com.eactive.eai.rms.onl.admin.terminal;

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

import org.springframework.stereotype.Repository;

import com.eactive.eai.rms.common.base.SqlMapClientTemplateDao;

@Repository
public class AutomaticTerminalDao extends SqlMapClientTemplateDao {

	public int selectListCount(HashMap paramMap) {
		return (int) template.queryForObject("AutomaticTerminalStatus.selectListCount", paramMap);
	}

	public List<Map<String, Object>> selectList(HashMap paramMap) {
		return template.queryForList("AutomaticTerminalStatus.selectList", paramMap);
	}

}
