文件名从 se-modules/se-job/src/main/java/com/se/job/controller/SysJobController.java 修改 |
| | |
| | | package com.se.job.controller; |
| | | package com.se.system.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.se.job.domain.SysJob; |
| | | import com.se.job.service.ISysJobService; |
| | | import com.se.job.util.ScheduleUtils; |
| | | import org.quartz.SchedulerException; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.se.common.core.constant.Constants; |
| | | import com.se.common.core.exception.job.TaskException; |
| | | import com.se.common.core.utils.StringUtils; |
| | |
| | | import com.se.common.log.enums.BusinessType; |
| | | import com.se.common.security.annotation.RequiresPermissions; |
| | | import com.se.common.security.utils.SecurityUtils; |
| | | import com.se.job.util.CronUtils; |
| | | import com.se.system.domain.SysJob; |
| | | import com.se.system.service.inte.ISysJobService; |
| | | import com.se.system.utils.CronUtils; |
| | | import com.se.system.utils.ScheduleUtils; |
| | | import org.quartz.SchedulerException; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 璋冨害浠诲姟淇℃伅鎿嶄綔澶勭悊 |
| | |
| | | @RequestMapping("/job") |
| | | public class SysJobController extends BaseController |
| | | { |
| | | @Autowired |
| | | @Resource |
| | | private ISysJobService jobService; |
| | | |
| | | /** |