| 
														
															@@ -13,7 +13,6 @@ import com.fs.quartz.service.ISysJobService; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.fs.quartz.util.CronUtils; 
														 | 
														
														 | 
														
															 import com.fs.quartz.util.CronUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.beans.factory.annotation.Autowired; 
														 | 
														
														 | 
														
															 import org.springframework.beans.factory.annotation.Autowired; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import org.springframework.security.access.prepost.PreAuthorize; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import org.springframework.web.bind.annotation.*; 
														 | 
														
														 | 
														
															 import org.springframework.web.bind.annotation.*; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import java.util.List; 
														 | 
														
														 | 
														
															 import java.util.List; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -33,7 +32,6 @@ public class SysJobController extends BaseController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 查询定时任务列表 
														 | 
														
														 | 
														
															      * 查询定时任务列表 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PreAuthorize("@ss.hasPermi('monitor:job:list')") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @GetMapping("/list") 
														 | 
														
														 | 
														
															     @GetMapping("/list") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public TableDataInfo list(SysJob sysJob) 
														 | 
														
														 | 
														
															     public TableDataInfo list(SysJob sysJob) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { 
														 | 
														
														 | 
														
															     { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -45,7 +43,6 @@ public class SysJobController extends BaseController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 导出定时任务列表 
														 | 
														
														 | 
														
															      * 导出定时任务列表 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PreAuthorize("@ss.hasPermi('monitor:job:export')") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.EXPORT) 
														 | 
														
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.EXPORT) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @GetMapping("/export") 
														 | 
														
														 | 
														
															     @GetMapping("/export") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public AjaxResult export(SysJob sysJob) 
														 | 
														
														 | 
														
															     public AjaxResult export(SysJob sysJob) 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -58,7 +55,6 @@ public class SysJobController extends BaseController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 获取定时任务详细信息 
														 | 
														
														 | 
														
															      * 获取定时任务详细信息 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PreAuthorize("@ss.hasPermi('monitor:job:query')") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @GetMapping(value = "/{jobId}") 
														 | 
														
														 | 
														
															     @GetMapping(value = "/{jobId}") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public AjaxResult getInfo(@PathVariable("jobId") Long jobId) 
														 | 
														
														 | 
														
															     public AjaxResult getInfo(@PathVariable("jobId") Long jobId) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     { 
														 | 
														
														 | 
														
															     { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -68,7 +64,6 @@ public class SysJobController extends BaseController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 新增定时任务 
														 | 
														
														 | 
														
															      * 新增定时任务 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PreAuthorize("@ss.hasPermi('monitor:job:add')") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.INSERT) 
														 | 
														
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.INSERT) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @PostMapping 
														 | 
														
														 | 
														
															     @PostMapping 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public AjaxResult add(@RequestBody SysJob sysJob) throws Exception, TaskException 
														 | 
														
														 | 
														
															     public AjaxResult add(@RequestBody SysJob sysJob) throws Exception, TaskException 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -77,14 +72,12 @@ public class SysJobController extends BaseController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         { 
														 | 
														
														 | 
														
															         { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return AjaxResult.error("cron表达式不正确"); 
														 | 
														
														 | 
														
															             return AjaxResult.error("cron表达式不正确"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        sysJob.setCreateBy(SecurityUtils.getUsername()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return toAjax(jobService.insertJob(sysJob)); 
														 | 
														
														 | 
														
															         return toAjax(jobService.insertJob(sysJob)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 修改定时任务 
														 | 
														
														 | 
														
															      * 修改定时任务 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PreAuthorize("@ss.hasPermi('monitor:job:edit')") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.UPDATE) 
														 | 
														
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.UPDATE) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @PutMapping 
														 | 
														
														 | 
														
															     @PutMapping 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public AjaxResult edit(@RequestBody SysJob sysJob) throws Exception, TaskException 
														 | 
														
														 | 
														
															     public AjaxResult edit(@RequestBody SysJob sysJob) throws Exception, TaskException 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -93,14 +86,12 @@ public class SysJobController extends BaseController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         { 
														 | 
														
														 | 
														
															         { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return AjaxResult.error("cron表达式不正确"); 
														 | 
														
														 | 
														
															             return AjaxResult.error("cron表达式不正确"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        sysJob.setUpdateBy(SecurityUtils.getUsername()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         return toAjax(jobService.updateJob(sysJob)); 
														 | 
														
														 | 
														
															         return toAjax(jobService.updateJob(sysJob)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 定时任务状态修改 
														 | 
														
														 | 
														
															      * 定时任务状态修改 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.UPDATE) 
														 | 
														
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.UPDATE) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @PutMapping("/changeStatus") 
														 | 
														
														 | 
														
															     @PutMapping("/changeStatus") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public AjaxResult changeStatus(@RequestBody SysJob job) throws Exception 
														 | 
														
														 | 
														
															     public AjaxResult changeStatus(@RequestBody SysJob job) throws Exception 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -113,7 +104,6 @@ public class SysJobController extends BaseController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 定时任务立即执行一次 
														 | 
														
														 | 
														
															      * 定时任务立即执行一次 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.UPDATE) 
														 | 
														
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.UPDATE) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @PutMapping("/run") 
														 | 
														
														 | 
														
															     @PutMapping("/run") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public AjaxResult run(@RequestBody SysJob job) throws Exception 
														 | 
														
														 | 
														
															     public AjaxResult run(@RequestBody SysJob job) throws Exception 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -125,7 +115,6 @@ public class SysJobController extends BaseController 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      * 删除定时任务 
														 | 
														
														 | 
														
															      * 删除定时任务 
														 | 
													
												
											
												
													
														| 
														 | 
														
															      */ 
														 | 
														
														 | 
														
															      */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    @PreAuthorize("@ss.hasPermi('monitor:job:remove')") 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.DELETE) 
														 | 
														
														 | 
														
															     @Log(title = "定时任务", businessType = BusinessType.DELETE) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @DeleteMapping("/{jobIds}") 
														 | 
														
														 | 
														
															     @DeleteMapping("/{jobIds}") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public AjaxResult remove(@PathVariable Long[] jobIds) throws Exception, TaskException 
														 | 
														
														 | 
														
															     public AjaxResult remove(@PathVariable Long[] jobIds) throws Exception, TaskException 
														 |