Untitled

 avatar
unknown
java
2 years ago
295 B
3
Indexable
@Query(
        value = "select count(*) from category_value cv inner join category c on c.id = cv.id_category where cv.id  = ?1 and c.code = ?3 and cv.status = ?2 and c.status= ?2",
        nativeQuery = true
    )
    Long existsByIdAndStatus(Long id, Integer status, String categoryCode);
Editor is loading...