@Query JPQL where문에서 문자열과 필드 값 비교하는 방법은 아래와 같다.
@Query("select count(be) from Bid be where be.state != 'CANCEL'") int countByRequestId(@Param("requestId") Long requestId);