public List<SysRoleMenuBean> getSysRoleMenuBeans(SysRoleMenuBean sysRoleMenuBean) {
   String hql = "from SysRoleMenuBean where 1=1";
   if (sysRoleMenuBean != null) {
     if (!StringEmpty.checkEmpty(sysRoleMenuBean.getRoleId().toString())) {
       hql += " and roleId = '" + sysRoleMenuBean.getRoleId() + "'";
     }
     if (!StringEmpty.checkEmpty(sysRoleMenuBean.getMenuId().toString())) {
       hql += " and menuId = '" + sysRoleMenuBean.getMenuId() + "'";
     }
   }
   return this.baseSysRoleMenuMgDAOImpl.getListByHqlAndParas(hql, null);
 }
 public void deleteSysRoleMenuBean(SysRoleMenuBean sysRoleMenuBean) {
   String hql = "delete from SysRoleMenuBean where roleId = '" + sysRoleMenuBean.getRoleId() + "'";
   this.baseSysRoleMenuMgDAOImpl.delete(hql);
 }