修改删除方法

pull/2/head
RuoYi 7 years ago
parent cbe386eb83
commit cda62b328c

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

Loading…
Cancel
Save