package org.dromara.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.domain.SenEvents;
import org.dromara.domain.SenFlowDetail;
import org.dromara.domain.SenMonitorTask;
import org.dromara.domain.vo.SenMonitorTaskVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 任务管理Mapper接口
 *
 * @author luogang
 * @date 2024-09-19
 */
@Mapper
public interface SenMonitorTaskMapper extends BaseMapperPlus<SenMonitorTask, SenMonitorTaskVo> {

    Page<SenMonitorTaskVo> selectVoPageWrapper(Page<SenMonitorTaskVo>  page, @Param("ew") Wrapper<SenMonitorTask> queryWrapper);

    List<SenEvents> selectScheduledTask();

    List<SenFlowDetail> selectFlowTask();
}
