Class LogServiceImpl
- java.lang.Object
-
- net.risedata.jdbc.service.impl.CrudServiceImpl<T,ID>
-
- net.risedata.jdbc.service.impl.AutomaticCrudService<Log,String>
-
- net.risesoft.api.persistence.log.impl.LogServiceImpl
-
- All Implemented Interfaces:
CrudService<Log,String>,LogService
@Service public class LogServiceImpl extends AutomaticCrudService<Log,String> implements LogService
-
-
Constructor Summary
Constructors Constructor Description LogServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLog(Log log, String ip)添加日志voidclear(Date date)net.risedata.jdbc.commons.LPage<Log>searchForLog(Log log, LPageable pageable)查询日志net.risedata.jdbc.commons.LPage<Log>searchForLog(Log log, LPageable pageable, Map<String,Operation> context)-
Methods inherited from class net.risedata.jdbc.service.impl.AutomaticCrudService
findByIds, getDeleteExecutor, getInsertExecutor, getSearchExecutor, getT, getUpdateExecutor, searchAll
-
Methods inherited from class net.risedata.jdbc.service.impl.CrudServiceImpl
batchInsert, delete, delete, delete, deleteById, deleteById, deleteByIds, findById, findOne, findOne, findOne, getOne, hasById, insert, save, search, search, search, search, search, search, searchAllForPage, searchAllForPage, searchAllForPage, searchFieldById, searchForList, searchForList, searchForPage, searchForPage, searchForPage, searchForPage, searchForPage, update, updateById, updateById, updateById
-
-
-
-
Method Detail
-
addLog
public void addLog(Log log, String ip)
Description copied from interface:LogService添加日志- Specified by:
addLogin interfaceLogService- Parameters:
log- 日志ip- ip
-
searchForLog
public net.risedata.jdbc.commons.LPage<Log> searchForLog(Log log, LPageable pageable)
Description copied from interface:LogService查询日志- Specified by:
searchForLogin interfaceLogService- Returns:
-
searchForLog
public net.risedata.jdbc.commons.LPage<Log> searchForLog(Log log, LPageable pageable, Map<String,Operation> context)
- Specified by:
searchForLogin interfaceLogService
-
clear
public void clear(Date date)
- Specified by:
clearin interfaceLogService
-
-