parent
c5eda488c4
commit
dcbc48cbce
@ -1,7 +1,11 @@
|
||||
package com.luoo.user.dao;
|
||||
|
||||
import com.luoo.user.pojo.PublicationLike;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
|
||||
public interface PublicationLikeDao extends MongoRepository<PublicationLike,String> {
|
||||
|
||||
public Page<PublicationLike> findByThumbupAtOrderByCreateTimeDesc(String thumbupAt, Pageable pageable);
|
||||
}
|
||||
|
Loading…
Reference in new issue