xuefei
2020-12-10 eeeb7233935ea9b10e99043bdbf740ef86c9bf20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package cn.cetc54.platform.core.service.elasticsearch;
 
import cn.cetc54.platform.core.common.vo.SearchVo;
import cn.cetc54.platform.core.entity.elasticsearch.EsLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
 
/**
 * @author
 */
public interface EsLogService {
 
    /**
     * 添加日志
     * @param esLog
     * @return
     */
    EsLog saveLog(EsLog esLog);
 
    /**
     * 通过id删除日志
     * @param id
     */
    void deleteLog(String id);
 
    /**
     * 删除全部日志
     */
    void deleteAll();
 
    /**
     * 分页搜索获取日志
     * @param type
     * @param key
     * @param searchVo
     * @param pageable
     * @return
     */
    Page<EsLog> findByConfition(Integer type, String key, SearchVo searchVo, Pageable pageable);
}