All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.wicp.tams.common.spring.quartz.IScheduleJobStore Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version
package net.wicp.tams.common.spring.quartz;

import java.util.List;

import net.wicp.tams.common.constant.dic.YesOrNo;
import net.wicp.tams.common.spring.quartz.bean.ScheduleJob;

public interface IScheduleJobStore {
	// 删除
	int deleteByPrimaryKey(Long jobId);

	// 添加到数据库中
	int insert(ScheduleJob record);

	// 从数据库中查询job
	ScheduleJob selectByPrimaryKey(Long jobId);

	// 通过group和name查到job
	ScheduleJob selectByGroupAndName(String jobGroup, String jobName);

	// int updateByPrimaryKeySelective(ScheduleJob record);
	// 更改任务
	int updateByPrimaryKey(ScheduleJob record);

	// 从数据库中取
	List getAll(YesOrNo isActiv);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy