Commit 77317d5e authored by macro's avatar macro
Browse files

Update EsProductRepository.java

parent bf4c8519
...@@ -6,7 +6,7 @@ import org.springframework.data.domain.Pageable; ...@@ -6,7 +6,7 @@ import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
/** /**
* 商品ES操作类 * 搜索商品ES操作类
* Created by macro on 2018/6/19. * Created by macro on 2018/6/19.
*/ */
public interface EsProductRepository extends ElasticsearchRepository<EsProduct, Long> { public interface EsProductRepository extends ElasticsearchRepository<EsProduct, Long> {
...@@ -17,7 +17,6 @@ public interface EsProductRepository extends ElasticsearchRepository<EsProduct, ...@@ -17,7 +17,6 @@ public interface EsProductRepository extends ElasticsearchRepository<EsProduct,
* @param subTitle 商品标题 * @param subTitle 商品标题
* @param keywords 商品关键字 * @param keywords 商品关键字
* @param page 分页信息 * @param page 分页信息
* @return
*/ */
Page<EsProduct> findByNameOrSubTitleOrKeywords(String name, String subTitle, String keywords,Pageable page); Page<EsProduct> findByNameOrSubTitleOrKeywords(String name, String subTitle, String keywords,Pageable page);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment