v3.12【新增】标签页Chome模式;【优化】优化很多细节

This commit is contained in:
zhuoda
2025-01-08 20:14:53 +08:00
parent 56517b650a
commit 96d498fbbf
77 changed files with 2721 additions and 918 deletions

View File

@@ -52,6 +52,15 @@ public class AdminSmartJobController extends SupportBaseController {
return jobService.queryJob(queryForm);
}
@Operation(summary = "定时任务-添加任务 @huke")
@PostMapping("/job/add")
@RepeatSubmit
public ResponseDTO<String> addJob(@RequestBody @Valid SmartJobAddForm addForm) {
RequestUser requestUser = SmartRequestUtil.getRequestUser();
addForm.setUpdateName(requestUser.getUserName());
return jobService.addJob(addForm);
}
@Operation(summary = "定时任务-更新-任务信息 @huke")
@PostMapping("/job/update")
@RepeatSubmit
@@ -70,6 +79,13 @@ public class AdminSmartJobController extends SupportBaseController {
return jobService.updateJobEnabled(updateForm);
}
@Operation(summary = "定时任务-删除 @zhuoda")
@GetMapping("/job/delete")
@RepeatSubmit
public ResponseDTO<String> deleteJob(@RequestParam Integer jobId) {
return jobService.deleteJob(jobId, SmartRequestUtil.getRequestUser());
}
@Operation(summary = "定时任务-执行记录-分页查询 @huke")
@PostMapping("/job/log/query")
public ResponseDTO<PageResult<SmartJobLogVO>> queryJobLog(@RequestBody @Valid SmartJobLogQueryForm queryForm) {