@Query("select\n"
+ " new ru.test.dto.MyDTO(\n"
+ " q.field1,"
+ " q.field2"
+ ")\n"
+ "from Test bp\n"
+ " left join ...\n"
+ " left join ...\n"
+ " left join ...\n"
+ " left join ...\n"
+ " left join ...\n"
+ "where\n"
+ " ...")
List<MyDTO> findMethod(...);
var deleteElement = document.querySelector("#idDelete");
deleteElement.remove();
var deleteElements = document.querySelectorAll(".example");
for (var i = 0; i < deleteElements.length; i++) {
deleteElements[i].remove();
}