mirror of https://gitee.com/y_project/RuoYi.git
修改注释
parent
b2cbc3b28c
commit
01de32cc58
File diff suppressed because it is too large
Load Diff
|
@ -1,88 +1,88 @@
|
||||||
package com.ruoyi.quartz.service.impl;
|
package com.ruoyi.quartz.service.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import com.ruoyi.common.core.text.Convert;
|
import com.ruoyi.common.core.text.Convert;
|
||||||
import com.ruoyi.quartz.domain.SysJobLog;
|
import com.ruoyi.quartz.domain.SysJobLog;
|
||||||
import com.ruoyi.quartz.mapper.SysJobLogMapper;
|
import com.ruoyi.quartz.mapper.SysJobLogMapper;
|
||||||
import com.ruoyi.quartz.service.ISysJobLogService;
|
import com.ruoyi.quartz.service.ISysJobLogService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 定时任务调度日志信息 服务层
|
* 定时任务调度日志信息 服务层
|
||||||
*
|
*
|
||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class SysJobLogServiceImpl implements ISysJobLogService
|
public class SysJobLogServiceImpl implements ISysJobLogService
|
||||||
{
|
{
|
||||||
@Autowired
|
@Autowired
|
||||||
private SysJobLogMapper jobLogMapper;
|
private SysJobLogMapper jobLogMapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取quartz调度器日志的计划任务
|
* 获取quartz调度器日志的计划任务
|
||||||
*
|
*
|
||||||
* @param jobLog 调度日志信息
|
* @param jobLog 调度日志信息
|
||||||
* @return 调度任务日志集合
|
* @return 调度任务日志集合
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<SysJobLog> selectJobLogList(SysJobLog jobLog)
|
public List<SysJobLog> selectJobLogList(SysJobLog jobLog)
|
||||||
{
|
{
|
||||||
return jobLogMapper.selectJobLogList(jobLog);
|
return jobLogMapper.selectJobLogList(jobLog);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过调度任务日志ID查询调度信息
|
* 通过调度任务日志ID查询调度信息
|
||||||
*
|
*
|
||||||
* @param jobId 调度任务日志ID
|
* @param jobLogId 调度任务日志ID
|
||||||
* @return 调度任务日志对象信息
|
* @return 调度任务日志对象信息
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public SysJobLog selectJobLogById(Long jobLogId)
|
public SysJobLog selectJobLogById(Long jobLogId)
|
||||||
{
|
{
|
||||||
return jobLogMapper.selectJobLogById(jobLogId);
|
return jobLogMapper.selectJobLogById(jobLogId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增任务日志
|
* 新增任务日志
|
||||||
*
|
*
|
||||||
* @param jobLog 调度日志信息
|
* @param jobLog 调度日志信息
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void addJobLog(SysJobLog jobLog)
|
public void addJobLog(SysJobLog jobLog)
|
||||||
{
|
{
|
||||||
jobLogMapper.insertJobLog(jobLog);
|
jobLogMapper.insertJobLog(jobLog);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除调度日志信息
|
* 批量删除调度日志信息
|
||||||
*
|
*
|
||||||
* @param ids 需要删除的数据ID
|
* @param ids 需要删除的数据ID
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int deleteJobLogByIds(String ids)
|
public int deleteJobLogByIds(String ids)
|
||||||
{
|
{
|
||||||
return jobLogMapper.deleteJobLogByIds(Convert.toStrArray(ids));
|
return jobLogMapper.deleteJobLogByIds(Convert.toStrArray(ids));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除任务日志
|
* 删除任务日志
|
||||||
*
|
*
|
||||||
* @param jobId 调度日志ID
|
* @param jobId 调度日志ID
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int deleteJobLogById(Long jobId)
|
public int deleteJobLogById(Long jobId)
|
||||||
{
|
{
|
||||||
return jobLogMapper.deleteJobLogById(jobId);
|
return jobLogMapper.deleteJobLogById(jobId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 清空任务日志
|
* 清空任务日志
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void cleanJobLog()
|
public void cleanJobLog()
|
||||||
{
|
{
|
||||||
jobLogMapper.cleanJobLog();
|
jobLogMapper.cleanJobLog();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue