package cn.stylefeng.guns.sys.modular.rest.service;
|
|
import cn.stylefeng.guns.sys.modular.rest.entity.RestLoginLog;
|
import cn.stylefeng.guns.sys.modular.rest.mapper.RestLoginLogMapper;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 登录记录 服务实现类
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2018-12-07
|
*/
|
@Service
|
public class RestLoginLogService extends ServiceImpl<RestLoginLogMapper, RestLoginLog> {
|
|
/**
|
* 获取登录日志列表
|
*
|
* @author fengshuonan
|
* @Date 2018/12/23 5:53 PM
|
*/
|
public List<Map<String, Object>> getLoginLogs(Page page, String beginTime, String endTime, String logName) {
|
return this.baseMapper.getLoginLogs(page, beginTime, endTime, logName);
|
}
|
}
|