eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/service/impl/UserServiceImpl.java
@@ -792,4 +792,11 @@ // 保存 sysUserLevelOtherRepository.save(sysUserLevelOther); } @Override @Transactional(rollbackFor = Exception.class) public List<UserDto> findByRoleLevel(Integer level) { // 根据角色等级查询用户 return userMapper.toDto(userRepository.findByRoleLevel(level)); } }