package com.ruoyi.system.service.impl;

import com.mybatisflex.solon.service.impl.ServiceImpl;
import com.ruoyi.system.domain.SysOperLog;
import com.ruoyi.system.mapper.SysOperLogMapper;
import com.ruoyi.system.service.ISysOperLogService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

/**
 * 操作日志 服务层实现
 * @author ruoyi
 */
@Component
public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements ISysOperLogService {

    @Inject
    SysOperLogMapper sysOperLogMapper;

    /**
     * 清空登录日志
     */
    @Override
    public void clean() {
        sysOperLogMapper.clean();
    }

}
