package com.macro.mall.portal.repository;

import com.macro.mall.portal.domain.MemberReadHistory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * 会员商品浏览历史Repository
 * Created by macro on 2018/8/3.
 */
public interface MemberReadHistoryRepository extends MongoRepository<MemberReadHistory,String> {
    Page<MemberReadHistory> findByMemberIdOrderByCreateTimeDesc(Long memberId, Pageable pageable);
    void deleteAllByMemberId(Long memberId);
}

@@ -428,16 +428,17 @@
 History,
+ 
 String%3E 
@@ -439,16 +439,52 @@
 ring%3E %7B%0A
+    /**%0A     * %E6%A0%B9%E6%8D%AE%E4%BC%9A%E5%91%98ID%E5%88%86%E9%A1%B5%E6%9F%A5%E6%89%BE%E8%AE%B0%E5%BD%95%0A     */%0A
     Page
@@ -573,16 +573,51 @@
 geable);
+%0A%0A    /**%0A     * %E6%A0%B9%E6%8D%AE%E4%BC%9A%E5%91%98ID%E5%88%A0%E9%99%A4%E8%AE%B0%E5%BD%95%0A     */
 %0A    voi

Update MemberReadHistoryRepository.java