package com.codvision.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.codvision.base.entity.QuartzJob;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * qrtz任务详情 Mapper 接口
 * </p>
 *
 * @author lingee
 * @since 2023-11-20
 */
public interface QuartzJobMapper extends BaseMapper<QuartzJob> {

    /**
     * 获取qrtz任务列表
     *
     * @param jobName  任务名称
     * @param jobGroup 任务分组(以：定时任务_)
     * @return qrtz任务列表
     */
    List<QuartzJob> getQuartzJobList(IPage page, @Param("jobName") String jobName, @Param("jobGroup") String jobGroup);
}
