/* (non-Javadoc) * @see com.zxt.compplatform.authority.service.RARelationShipService#delete(com.zxt.compplatform.authority.entity.RARelationShip) */ public void delete(RARelationShip raRelationShip) { String sql = " delete from T_ROLE_RESC where role_id = " + raRelationShip.getRoleId() + " and resc_id = '" + raRelationShip.getRescId() + "' "; relationShipDao.deleteRoleMenu(sql); }
/* (non-Javadoc) * @see com.zxt.compplatform.authority.service.RARelationShipService#insert(com.zxt.compplatform.authority.entity.RARelationShip) */ public void insert(RARelationShip raRelationShip) { String sql = " insert into T_ROLE_RESC values (" + raRelationShip.getRoleId() + ",'" + raRelationShip.getRescId() + "') "; relationShipDao.insert(sql); }