mirror of https://github.com/halo-dev/halo
Update PostRepository.java
parent
5913a40684
commit
13ad7c3884
|
@ -234,7 +234,7 @@ public interface PostRepository extends JpaRepository<Post, 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();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue