From 0fa5326f0aae3f676788c36707e3118d4e1ca41c Mon Sep 17 00:00:00 2001 From: YunaiV <> Date: Tue, 12 Mar 2019 19:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=8E=88=E6=9D=83=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/iocoder/mall/admin/service/AdminServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/service/AdminServiceImpl.java b/admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/service/AdminServiceImpl.java index 88a4f2ea..298646b5 100644 --- a/admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/service/AdminServiceImpl.java +++ b/admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/service/AdminServiceImpl.java @@ -183,7 +183,7 @@ public class AdminServiceImpl implements AdminService { } // TODO 芋艿,这里先简单实现。即方式是,删除老的分配的角色关系,然后添加新的分配的角色关系 // 标记管理员角色源关系都为删除 - adminRoleMapper.updateToDeletedByRoleId(updateAdminId); + adminRoleMapper.updateToDeletedByAdminId(updateAdminId); // 创建 RoleResourceDO 数组,并插入到数据库 if (!roleIds.isEmpty()) { List adminRoleDOs = roleIds.stream().map(roleId -> {