ISearchLogService.java
1.14 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
package com.lhcredit.project.business.searchLog.service;
import com.lhcredit.framework.web.page.TableDataInfo;
import com.lhcredit.project.business.enterpriseInfo.domain.EnterpriseInfo;
import com.lhcredit.project.business.searchLog.domain.SearchLog;
import java.util.List;
/**
* 企业搜索日志Service接口
*
* @author ruoyi
* @date 2025-06-25
*/
public interface ISearchLogService
{
/**
* 查询企业搜索日志列表
*
* @param searchLog 企业搜索日志
* @return 企业搜索日志集合
*/
public List<SearchLog> selectSearchLogList(SearchLog searchLog);
/**
* 新增企业搜索日志
*
* @param searchLog 企业搜索日志
* @return 结果
*/
public int insertSearchLog(SearchLog searchLog);
/**
* 根据 用户名 和 类型 查询历史记录,默认查询5条
* @param type
* @param userName
* @return
*/
TableDataInfo getSearchLogs(String type, String userName);
/**
* 记录查询企业名称时候的 搜索日志
* @param enterpriseInfo
*/
public void setSearchLogs(EnterpriseInfo enterpriseInfo);
}