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
| package com.stylefeng.guns.modular.system.service.impl;
|
| import com.baomidou.mybatisplus.plugins.Page;
| import com.baomidou.mybatisplus.service.impl.ServiceImpl;
| import com.stylefeng.guns.modular.system.dao.LoginLogMapper;
| import com.stylefeng.guns.modular.system.model.LoginLog;
| import com.stylefeng.guns.modular.system.service.ILoginLogService;
| import org.springframework.stereotype.Service;
|
| import java.util.List;
| import java.util.Map;
|
| /**
| * <p>
| * 登录记录 服务实现类
| * </p>
| *
| * @author stylefeng123
| * @since 2018-02-22
| */
| @Service
| public class LoginLogServiceImpl extends ServiceImpl<LoginLogMapper, LoginLog> implements ILoginLogService {
|
| @Override
| public List<Map<String, Object>> getLoginLogs(Page<LoginLog> page, String beginTime, String endTime, String logName, String orderByField, boolean asc) {
| return this.baseMapper.getLoginLogs(page, beginTime, endTime, logName, orderByField, asc);
| }
| }
|
|