| | |
| | | package com.ruoyi.job.controller;
|
| | |
|
| | | import java.io.IOException;
|
| | | import java.util.List;
|
| | | import javax.servlet.http.HttpServletResponse;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | |
| | | @RequiresPermissions("monitor:job:export")
|
| | | @Log(title = "任务调度日志", businessType = BusinessType.EXPORT)
|
| | | @PostMapping("/export")
|
| | | public void export(HttpServletResponse response, SysJobLog sysJobLog) throws IOException
|
| | | public void export(HttpServletResponse response, SysJobLog sysJobLog)
|
| | | {
|
| | | List<SysJobLog> list = jobLogService.selectJobLogList(sysJobLog);
|
| | | ExcelUtil<SysJobLog> util = new ExcelUtil<SysJobLog>(SysJobLog.class);
|
| | |
| | | @GetMapping(value = "/{configId}")
|
| | | public AjaxResult getInfo(@PathVariable Long jobLogId)
|
| | | {
|
| | | return AjaxResult.success(jobLogService.selectJobLogById(jobLogId));
|
| | | return success(jobLogService.selectJobLogById(jobLogId));
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | public AjaxResult clean()
|
| | | {
|
| | | jobLogService.cleanJobLog();
|
| | | return AjaxResult.success();
|
| | | return success();
|
| | | }
|
| | | }
|