ÎļþÃû´Ó se-modules/se-job/src/main/java/com/se/job/service/SysJobServiceImpl.java ÐÞ¸Ä |
| | |
| | | package com.se.job.service; |
| | | package com.se.system.service.impl; |
| | | |
| | | import java.util.List; |
| | | import javax.annotation.PostConstruct; |
| | | import com.se.common.core.constant.ScheduleConstants; |
| | | import com.se.common.core.exception.job.TaskException; |
| | | import com.se.system.domain.SysJob; |
| | | import com.se.system.mapper.SysJobMapper; |
| | | import com.se.system.service.inte.ISysJobService; |
| | | import com.se.system.utils.CronUtils; |
| | | import com.se.system.utils.ScheduleUtils; |
| | | import org.quartz.JobDataMap; |
| | | import org.quartz.JobKey; |
| | | import org.quartz.Scheduler; |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import com.se.common.core.constant.ScheduleConstants; |
| | | import com.se.common.core.exception.job.TaskException; |
| | | import com.se.job.domain.SysJob; |
| | | import com.se.job.mapper.SysJobMapper; |
| | | import com.se.job.util.CronUtils; |
| | | import com.se.job.util.ScheduleUtils; |
| | | |
| | | import javax.annotation.PostConstruct; |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 宿¶ä»»å¡è°åº¦ä¿¡æ¯ æå¡å± |
| | |
| | | @Service |
| | | public class SysJobServiceImpl implements ISysJobService |
| | | { |
| | | @Autowired |
| | | @Resource |
| | | private Scheduler scheduler; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private SysJobMapper jobMapper; |
| | | |
| | | /** |