modify method structures
changed a query parameter creation to createQueryBuilder() in repository.