com.ruoyi.system.service.ISysOperLogService Java Examples
The following examples show how to use
com.ruoyi.system.service.ISysOperLogService.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AsyncFactory.java From supplierShop with MIT License | 5 votes |
/** * 操作日志记录 * * @param operLog 操作日志信息 * @return 任务task */ public static TimerTask recordOper(final SysOperLog operLog) { return new TimerTask() { @Override public void run() { // 远程查询操作地点 operLog.setOperLocation(AddressUtils.getRealAddressByIP(operLog.getOperIp())); SpringUtils.getBean(ISysOperLogService.class).insertOperlog(operLog); } }; }
Example #2
Source File: AsyncFactory.java From ruoyiplus with MIT License | 5 votes |
/** * 操作日志记录 * * @param operLog 操作日志信息 * @return 任务task */ public static TimerTask recordOper(final SysOperLog operLog) { return new TimerTask() { @Override public void run() { // 远程查询操作地点 operLog.setOperLocation(AddressUtils.getRealAddressByIP(operLog.getOperIp())); SpringUtils.getBean(ISysOperLogService.class).insertOperlog(operLog); } }; }
Example #3
Source File: AsyncFactory.java From RuoYi with Apache License 2.0 | 5 votes |
/** * 操作日志记录 * * @param operLog 操作日志信息 * @return 任务task */ public static TimerTask recordOper(final SysOperLog operLog) { return new TimerTask() { @Override public void run() { // 远程查询操作地点 operLog.setOperLocation(AddressUtils.getRealAddressByIp(operLog.getOperIp())); SpringUtils.getBean(ISysOperLogService.class).insertOperlog(operLog); } }; }
Example #4
Source File: SysOperlogController.java From RuoYi with Apache License 2.0 | 4 votes |
@Autowired public SysOperlogController(ISysOperLogService operLogService) { this.operLogService = operLogService; }