We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bfdfb7 + e5accf1 commit 1029990Copy full SHA for 1029990
src/main/java/PodoeMarket/podoemarket/common/repository/ProductRepository.java
@@ -53,6 +53,6 @@ List<ProductEntity> findAllValidPlays(
53
void decrementLikeCount(@Param("productId") UUID productId);
54
55
@Modifying
56
- @Query("update ProductEntity p set p.viewCount = COALESCE(p.viewCount, 0) + :delta where p.id = :id")
+ @Query("update ProductEntity p set p.viewCount = COALESCE(p.viewCount,0) + :delta where p.id = :id")
57
void incrementViewCount(@Param("id") UUID id, @Param("delta") long delta);
58
}
0 commit comments