@Service @EnableAsync @Transactional public class LogService extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<LogDao,OperationLogDO>
| 构造器和说明 |
|---|
LogService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAdminLog(OperationLogDO log) |
void |
addLoginLog(LoginLogDO loginLog)
添加登录日志
|
void |
addLoginLog(String username,
String password,
int i)
已过时。
|
void |
addLoginLog(String username,
String password,
int i,
String ipAddr)
已过时。
|
Map<String,Object> |
getLoginLogPage(PageParam pageParam,
LoginLogDO entity)
获取登录日志分页数据
|
Map<String,Object> |
getPage(PageParam pageParam,
OperationLogDO entity)
获取操作日志
|
String |
recover(String id)
根据操作日志恢复数据
|
closeSqlSession, currentMapperClass, currentModelClass, executeBatch, executeBatch, executeBatch, getBaseMapper, getEntityClass, getMap, getObj, getOne, getOneOpt, getSqlSessionFactory, getSqlStatement, removeBatchByIds, removeBatchByIds, removeById, removeById, removeByIds, retBool, saveBatch, saveOrUpdate, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, updateBatchByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, exists, getById, getOne, 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, removeById, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateById@Async public void addAdminLog(OperationLogDO log)
public Map<String,Object> getPage(PageParam pageParam, OperationLogDO entity)
public Map<String,Object> getLoginLogPage(PageParam pageParam, LoginLogDO entity)
pageParam - 分页参数entity - 查询条件@Async public void addLoginLog(LoginLogDO loginLog)
loginLog - 登录日志@Deprecated @Async public void addLoginLog(String username, String password, int i)
@Deprecated public void addLoginLog(String username, String password, int i, String ipAddr)
Copyright © 2025. All rights reserved.