/**
 * 
 */
package com.gbicc.bll.sys.dao;

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

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

/**
 * @author ytr
 *
 */
public class TableBeanDAO extends SqlMapClientDaoSupport {
	
	/**
	 * 依据元素编号查询节点和流程
	 * @param elementId：元素编号
	 * @return
	 */
	public List getElementNodesByElementId(String elementId) {
		List list = null;
		
		Map map = new HashMap();
		map.put("c3", elementId);
		list = getSqlMapClientTemplate().queryForList("tableBean.getElementNodesByElementId", map);
		
		return list;
	}
}
