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
| package cn.besteam.modules.system.mapper;
|
| import cn.besteam.modules.system.entity.SysLog;
| import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
| /**
| * <p>
| * 系统日志表 Mapper 接口
| * </p>
| *
| * @author zhangweijian
| * @since 2018-12-26
| */
| public interface SysLogMapper extends BaseMapper<SysLog> {
|
| /**
| * @功能:清空所有日志记录
| */
| public void removeAll();
|
| /**
| * 获取系统总访问次数
| *
| * @return Long
| */
| Long findTotalVisitCount();
|
| /**
| * 获取系统今日访问次数
| *
| * @return Long
| */
| Long findTodayVisitCount();
|
| /**
| * 获取系统今日访问 IP数
| *
| * @return Long
| */
| Long findTodayIp();
|
| }
|
|