| | |
| | | package com.ruoyi.quartz.service.impl; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.ruoyi.quartz.domain.SysJobLog; |
| | |
| | | * @author ruoyi |
| | | */ |
| | | @Service |
| | | public class SysJobLogServiceImpl implements ISysJobLogService |
| | | { |
| | | public class SysJobLogServiceImpl implements ISysJobLogService { |
| | | @Autowired |
| | | private SysJobLogMapper jobLogMapper; |
| | | |
| | |
| | | * @return 调度任务日志集合 |
| | | */ |
| | | @Override |
| | | public List<SysJobLog> selectJobLogList(SysJobLog jobLog) |
| | | { |
| | | public List<SysJobLog> selectJobLogList(SysJobLog jobLog) { |
| | | return jobLogMapper.selectJobLogList(jobLog); |
| | | } |
| | | |
| | |
| | | * @return 调度任务日志对象信息 |
| | | */ |
| | | @Override |
| | | public SysJobLog selectJobLogById(Long jobLogId) |
| | | { |
| | | public SysJobLog selectJobLogById(Long jobLogId) { |
| | | return jobLogMapper.selectJobLogById(jobLogId); |
| | | } |
| | | |
| | |
| | | * @param jobLog 调度日志信息 |
| | | */ |
| | | @Override |
| | | public void addJobLog(SysJobLog jobLog) |
| | | { |
| | | public void addJobLog(SysJobLog jobLog) { |
| | | jobLogMapper.insertJobLog(jobLog); |
| | | } |
| | | |
| | |
| | | * @return 结果 |
| | | */ |
| | | @Override |
| | | public int deleteJobLogByIds(Long[] logIds) |
| | | { |
| | | public int deleteJobLogByIds(Long[] logIds) { |
| | | return jobLogMapper.deleteJobLogByIds(logIds); |
| | | } |
| | | |
| | |
| | | * @param jobId 调度日志ID |
| | | */ |
| | | @Override |
| | | public int deleteJobLogById(Long jobId) |
| | | { |
| | | public int deleteJobLogById(Long jobId) { |
| | | return jobLogMapper.deleteJobLogById(jobId); |
| | | } |
| | | |
| | |
| | | * 清空任务日志 |
| | | */ |
| | | @Override |
| | | public void cleanJobLog() |
| | | { |
| | | public void cleanJobLog() { |
| | | jobLogMapper.cleanJobLog(); |
| | | } |
| | | } |