mirror of https://github.com/halo-dev/halo
Update PostRepository.java
parent
13ad7c3884
commit
badf9adfd8
|
@ -234,7 +234,7 @@ public interface PostRepository extends JpaRepository<Post, Long> {
|
||||||
*
|
*
|
||||||
* @return Long
|
* @return Long
|
||||||
*/
|
*/
|
||||||
@Query(value = "SELECT SUM(POST_VIEWS) FROM halo_post", nativeQuery = true)
|
@Query(value = "SELECT SUM(post_views) FROM halo_post", nativeQuery = true)
|
||||||
Long getPostViewsSum();
|
Long getPostViewsSum();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue