Class LoginInfoServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<LoginInfoMapper,LoginInfo>
cn.sinozg.applet.biz.system.service.impl.LoginInfoServiceImpl
- All Implemented Interfaces:
FrameworkLoginLogService,LoginInfoService,com.baomidou.mybatisplus.extension.service.IService<LoginInfo>
@Service
public class LoginInfoServiceImpl
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<LoginInfoMapper,LoginInfo>
implements LoginInfoService, FrameworkLoginLogService
系统访问记录 服务实现类
- Since:
- 2022-09-14 12:51:35
-
Field Summary
FieldsFields inherited from class com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
baseMapperFields inherited from interface com.baomidou.mybatisplus.extension.service.IService
DEFAULT_BATCH_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncn.sinozg.applet.biz.system.vo.response.LoginAgentResponsevoid清空系统登录日志intdeleteLoginInfoByIds(List<String> infoIds) 批量删除系统登录日志voidinsertLoginInfo(cn.sinozg.applet.biz.system.vo.response.LoginAgentResponse agent, String username, String loginKey, String type, boolean success, String message) 新增系统登录日志list(LoginInfoPageListRequest loginInfo) 查询系统登录日志集合cn.sinozg.applet.common.core.base.BasePageResponse<List<LoginInfoPageListResponse>>selectLoginInfoPage(cn.sinozg.applet.common.core.base.PagingRequest page, LoginInfoPageListRequest loginInfo) 查询系统登录日志集合Methods inherited from class com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.baomidou.mybatisplus.extension.service.IService
count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
-
Field Details
-
loginInfoMapper
-
log
private final org.slf4j.Logger log
-
-
Constructor Details
-
LoginInfoServiceImpl
public LoginInfoServiceImpl()
-
-
Method Details
-
browserInfo
public cn.sinozg.applet.biz.system.vo.response.LoginAgentResponse browserInfo()- Specified by:
browserInfoin interfaceFrameworkLoginLogService
-
insertLoginInfo
public void insertLoginInfo(cn.sinozg.applet.biz.system.vo.response.LoginAgentResponse agent, String username, String loginKey, String type, boolean success, String message) 新增系统登录日志- Specified by:
insertLoginInfoin interfaceFrameworkLoginLogService
-
selectLoginInfoPage
public cn.sinozg.applet.common.core.base.BasePageResponse<List<LoginInfoPageListResponse>> selectLoginInfoPage(cn.sinozg.applet.common.core.base.PagingRequest page, LoginInfoPageListRequest loginInfo) 查询系统登录日志集合- Specified by:
selectLoginInfoPagein interfaceLoginInfoService- Parameters:
loginInfo- 访问日志对象page- 分页对象- Returns:
- 登录记录集合
-
list
Description copied from interface:LoginInfoService查询系统登录日志集合- Specified by:
listin interfaceLoginInfoService- Parameters:
loginInfo- 查询参数- Returns:
- 集合
-
deleteLoginInfoByIds
批量删除系统登录日志- Specified by:
deleteLoginInfoByIdsin interfaceLoginInfoService- Parameters:
infoIds- 需要删除的登录日志ID- Returns:
- 删除成功条数
-
cleanLoginInfo
public void cleanLoginInfo()清空系统登录日志- Specified by:
cleanLoginInfoin interfaceLoginInfoService
-