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;