package com.eactive.eai.rms.bap.tansaction.transactionTrace;

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("bapTransactionTraceDao")
@SuppressWarnings({"deprecation","unchecked"})
public class BapTransactionTraceDao extends SqlMapClientTemplateDao {

	public int selectListCount(HashMap<String, Object> param) throws Exception {
    	return (Integer)template.queryForObject("BapTransactionTrace.selectListCount", param);
    }	

	public List<Map<String, Object>> selectList(HashMap<String, Object> param) throws Exception {
    	return (List<Map<String, Object>>)template.queryForList("BapTransactionTrace.selectList", param);
    }	
	
	public List<Map<String, Object>> selectOsidInstiDstcd(HashMap<String, Object> param) throws Exception {
    	return (List<Map<String, Object>>)template.queryForList("BapTranStatus.selectOsidInstiDstcd", param);
    }	
}