From 7dda199d8a234fea8481f8ad19930005868e985d Mon Sep 17 00:00:00 2001 From: stylefeng Date: Thu, 31 Oct 2024 00:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.3.1=E3=80=91=E3=80=90role=E3=80=91?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B2=A1=E7=94=A8=E7=9A=84=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/PermissionAssignServiceImpl.java | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/kernel-s-system/system-business-permission/src/main/java/cn/stylefeng/roses/kernel/sys/modular/role/service/impl/PermissionAssignServiceImpl.java b/kernel-s-system/system-business-permission/src/main/java/cn/stylefeng/roses/kernel/sys/modular/role/service/impl/PermissionAssignServiceImpl.java index 565cab948..f4b4f2f29 100644 --- a/kernel-s-system/system-business-permission/src/main/java/cn/stylefeng/roses/kernel/sys/modular/role/service/impl/PermissionAssignServiceImpl.java +++ b/kernel-s-system/system-business-permission/src/main/java/cn/stylefeng/roses/kernel/sys/modular/role/service/impl/PermissionAssignServiceImpl.java @@ -2,7 +2,6 @@ package cn.stylefeng.roses.kernel.sys.modular.role.service.impl; import cn.hutool.core.util.ObjectUtil; import cn.hutool.extra.spring.SpringUtil; -import cn.stylefeng.roses.kernel.db.api.DbOperatorApi; import cn.stylefeng.roses.kernel.event.sdk.publish.BusinessEventPublisher; import cn.stylefeng.roses.kernel.log.api.util.BusinessLogUtil; import cn.stylefeng.roses.kernel.sys.api.SysUserRoleServiceApi; @@ -20,7 +19,9 @@ import cn.stylefeng.roses.kernel.sys.modular.role.constants.RoleConstants; import cn.stylefeng.roses.kernel.sys.modular.role.entity.SysRoleMenu; import cn.stylefeng.roses.kernel.sys.modular.role.entity.SysRoleMenuOptions; import cn.stylefeng.roses.kernel.sys.modular.role.factory.PermissionAssignFactory; -import cn.stylefeng.roses.kernel.sys.modular.role.service.*; +import cn.stylefeng.roses.kernel.sys.modular.role.service.PermissionAssignService; +import cn.stylefeng.roses.kernel.sys.modular.role.service.SysRoleMenuOptionsService; +import cn.stylefeng.roses.kernel.sys.modular.role.service.SysRoleMenuService; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import jakarta.annotation.Resource; import org.springframework.stereotype.Service; @@ -55,18 +56,6 @@ public class PermissionAssignServiceImpl implements PermissionAssignService { @Resource private SysRoleMenuService sysRoleMenuService; - @Resource - private SysUserRoleServiceApi sysUserRoleServiceApi; - - @Resource - private SysRoleService sysRoleService; - - @Resource - private DbOperatorApi dbOperatorApi; - - @Resource - private SysRoleDataScopeService sysRoleDataScopeService; - @Resource private SysUserRoleServiceApi userRoleServiceApi;