From cda62b328c6b270f082f3173f8d8dddb1967bb25 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 26 Apr 2018 16:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A0=E9=99=A4=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/project/system/role/service/RoleServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ruoyi/project/system/role/service/RoleServiceImpl.java b/src/main/java/com/ruoyi/project/system/role/service/RoleServiceImpl.java index 897dc1234..87714aa2a 100644 --- a/src/main/java/com/ruoyi/project/system/role/service/RoleServiceImpl.java +++ b/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); }