1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package cn.exrick.xboot.core.dao.elasticsearch;
|
| import cn.exrick.xboot.core.entity.elasticsearch.EsLog;
| import org.springframework.data.domain.Page;
| import org.springframework.data.domain.Pageable;
| import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
|
|
| /**
| * @author Exrickx
| */
| public interface EsLogDao extends ElasticsearchRepository<EsLog, String> {
|
| /**
| * 通过类型获取
| * @param type
| * @param pageable
| * @return
| */
| Page<EsLog> findByLogType(Integer type, Pageable pageable);
| }
|
|