zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserServiceImpl.java
@@ -36,6 +36,16 @@ } @Override public User getByIdRel(Long userId) { User user = this.getById(userId); if (user != null) { user.setRoles(userRoleService.listByUserId(user.getId())); user.setAuthorities(roleMenuService.listMenuByUserId(user.getId(), null)); } return user; } @Override public boolean comparePassword(String dbPassword, String inputPassword) { return bCryptPasswordEncoder.matches(inputPassword, dbPassword); }