Browse Source

修改删除方法

pull/2/head
RuoYi 7 years ago
parent
commit
cda62b328c
  1. 2
      src/main/java/com/ruoyi/project/system/role/service/RoleServiceImpl.java

2
src/main/java/com/ruoyi/project/system/role/service/RoleServiceImpl.java

@ -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