From 4f46dade49d809e1b8ef92530309dc5f19e39582 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期二, 27 五月 2025 19:05:38 +0800 Subject: [PATCH] 小程序接口 --- ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java | 61 ------------------------------ 1 files changed, 0 insertions(+), 61 deletions(-) diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java index d9d1f71..32e1511 100644 --- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java +++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobLogController.java @@ -28,65 +28,4 @@ @RequestMapping("/monitor/jobLog") public class SysJobLogController extends BaseController { - @Autowired - private ISysJobLogService jobLogService; - - /** - * 查询定时任务调度日志列表 - */ - @PreAuthorize("@ss.hasPermi('monitor:job:list')") - @GetMapping("/list") - public TableDataInfo list(SysJobLog sysJobLog) - { -// startPage(); - List<SysJobLog> list = jobLogService.selectJobLogList(sysJobLog); - return getDataTable(list); - } - - /** - * 导出定时任务调度日志列表 - */ -// @PreAuthorize("@ss.hasPermi('monitor:job:export')") -// @Log(title = "任务调度日志", businessType = BusinessType.EXPORT) -// @PostMapping("/export") -// public void export(HttpServletResponse response, SysJobLog sysJobLog) -// { -// List<SysJobLog> list = jobLogService.selectJobLogList(sysJobLog); -// ExcelUtil<SysJobLog> util = new ExcelUtil<SysJobLog>(SysJobLog.class); -// util.exportExcel(response, list, "调度日志"); -// } - - /** - * 根据调度编号获取详细信息 - */ - @PreAuthorize("@ss.hasPermi('monitor:job:query')") - @GetMapping(value = "/{jobLogId}") - public AjaxResult getInfo(@PathVariable Long jobLogId) - { - return success(jobLogService.selectJobLogById(jobLogId)); - } - - - /** - * 删除定时任务调度日志 - */ - @PreAuthorize("@ss.hasPermi('monitor:job:remove')") - @Log(title = "定时任务调度日志", businessType = BusinessType.DELETE) - @DeleteMapping("/{jobLogIds}") - public AjaxResult remove(@PathVariable Long[] jobLogIds) - { - return toAjax(jobLogService.deleteJobLogByIds(jobLogIds)); - } - - /** - * 清空定时任务调度日志 - */ - @PreAuthorize("@ss.hasPermi('monitor:job:remove')") - @Log(title = "调度日志", businessType = BusinessType.CLEAN) - @DeleteMapping("/clean") - public AjaxResult clean() - { - jobLogService.cleanJobLog(); - return success(); - } } -- Gitblit v1.7.1