|
|
@ -11,6 +11,7 @@ public interface CommentDao extends MongoRepository<Comment,String> {
|
|
|
|
|
|
|
|
|
|
|
|
public Page<Comment> findByParentId(String parentId, Pageable pageable);
|
|
|
|
public Page<Comment> findByParentId(String parentId, Pageable pageable);
|
|
|
|
public Page<Comment> findByRootIdAndReplyToUserIdNotNullOrderByPublishTimeDesc(String rootId, Pageable pageable);
|
|
|
|
public Page<Comment> findByRootIdAndReplyToUserIdNotNullOrderByPublishTimeDesc(String rootId, Pageable pageable);
|
|
|
|
|
|
|
|
public Page<Comment> findByRootIdAndReplyToUserIdNotNullOrderByThumbupCountDescPublishTimeDesc(String rootId, Pageable pageable);
|
|
|
|
public Page<Comment> findByJournalId(String journalId, Pageable pageable);
|
|
|
|
public Page<Comment> findByJournalId(String journalId, Pageable pageable);
|
|
|
|
public Page<Comment> findByJournalIdOrderByPublishTimeDesc(String journalId, Pageable pageable);
|
|
|
|
public Page<Comment> findByJournalIdOrderByPublishTimeDesc(String journalId, Pageable pageable);
|
|
|
|
public Page<Comment> findByJournalIdOrderByThumbupCountDesc(String journalId, Pageable pageable);
|
|
|
|
public Page<Comment> findByJournalIdOrderByThumbupCountDesc(String journalId, Pageable pageable);
|
|
|
|