提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.rest.service; |
懒 |
2 |
|
|
3 |
import cn.stylefeng.guns.sys.modular.rest.entity.RestLoginLog; |
|
4 |
import cn.stylefeng.guns.sys.modular.rest.mapper.RestLoginLogMapper; |
|
5 |
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
6 |
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
7 |
import org.springframework.stereotype.Service; |
|
8 |
|
|
9 |
import java.util.List; |
|
10 |
import java.util.Map; |
|
11 |
|
|
12 |
/** |
|
13 |
* <p> |
|
14 |
* 登录记录 服务实现类 |
|
15 |
* </p> |
|
16 |
* |
|
17 |
* @author stylefeng |
|
18 |
* @since 2018-12-07 |
|
19 |
*/ |
|
20 |
@Service |
|
21 |
public class RestLoginLogService extends ServiceImpl<RestLoginLogMapper, RestLoginLog> { |
|
22 |
|
|
23 |
/** |
|
24 |
* 获取登录日志列表 |
|
25 |
* |
|
26 |
* @author fengshuonan |
|
27 |
* @Date 2018/12/23 5:53 PM |
|
28 |
*/ |
|
29 |
public List<Map<String, Object>> getLoginLogs(Page page, String beginTime, String endTime, String logName) { |
|
30 |
return this.baseMapper.getLoginLogs(page, beginTime, endTime, logName); |
|
31 |
} |
|
32 |
} |