修改删除方法

master
RuoYi 7 years ago committed by Limy
parent f1e61902d0
commit 0be1302f83

@ -126,7 +126,7 @@ public class RoleServiceImpl implements IRoleService
@Override
public int deleteRoleById(Long roleId)
{
userRoleDao.deleteUserRoleByUserId(roleId);
userRoleDao.deleteUserRoleByRoleId(roleId);
roleMenuDao.deleteRoleMenuByRoleId(roleId);
return roleDao.deleteRoleById(roleId);
}

Loading…
Cancel
Save