/*********************************************************************** * System : NLMRPII * Date : 2011-06-21 * Description : ************************************************************************/ package permission.service.dao; import java.util.List; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import permission.service.bean.PermissionBean; /** * 权限管理 Dao. */ public class PermissionDaoImpl extends SqlMapClientDaoSupport implements PermissionDao { @SuppressWarnings("unchecked") public List<PermissionBean> getPermissionBeanList(PermissionBean bean) { return (List<PermissionBean>)getSqlMapClientTemplate().queryForList("permission.getPermissionBeanList", bean); } public int getPermissionBeanList_records(PermissionBean bean) { return (Integer)getSqlMapClientTemplate().queryForObject("permission.getPermissionBeanList_records", bean); } public PermissionBean permissionManage(PermissionBean permissionBean) { return (PermissionBean)getSqlMapClientTemplate().queryForObject("permission.permissionManage", permissionBean); } public PermissionBean validCheck(PermissionBean permissionBean) { return (PermissionBean)getSqlMapClientTemplate().queryForObject("permission.validCheck", permissionBean); } }