Commit cda62b32 by RuoYi

修改删除方法

parent cbe386eb
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment