| | |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | @RequiredArgsConstructor |
| | | @RequiredArgsConstructor(onConstructor_ = @Lazy) |
| | | public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements ISysRoleService { |
| | | |
| | | private final ISysUserRoleService userRoleService; |
| | |
| | | private final SysRoleMenuMapper sysRoleMenuMapper; |
| | | private final XpOperationsRoleMapper xpOperationsRoleMapper; |
| | | |
| | | private final ISysGroupService sysGroupService; |
| | | @Lazy |
| | | @Autowired |
| | | private ISysGroupService sysGroupService; |
| | | |
| | | /** |
| | | * 根据角色ID查询权限组ID |