package com.ruoyi.schedule.service.impl;

import com.mybatisflex.solon.service.impl.ServiceImpl;
import com.ruoyi.schedule.domain.SysJobLog;
import com.ruoyi.schedule.mapper.SysJobLogMapper;
import com.ruoyi.schedule.service.ISysJobLogService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

/**
 * 定时任务调度日志 服务层实现
 * @author ruoyi
 */
@Component
public class SysJobLogServiceImpl extends ServiceImpl<SysJobLogMapper, SysJobLog> implements ISysJobLogService {

    @Inject
    SysJobLogMapper sysJobLogMapper;

    /**
     * 清空定时任务调度日志
     */
    @Override
    public void clean() {
        sysJobLogMapper.clean();
    }

}
