| 123456789101112131415161718192021222324252627282930313233 |
- package net.yyc.quartz.mapper;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import java.time.LocalDateTime;
- import java.util.List;
- import java.util.Map;
- /**
- * 简报数据访问接口
- */
- @Mapper
- public interface JobBriefingMapper {
- /**
- * 按任务ID统计执行情况
- */
- List<Map<String, Object>> selectJobStatSummary(@Param("startTime") LocalDateTime startTime,
- @Param("endTime") LocalDateTime endTime);
- /**
- * 查询指定日期有执行记录的任务ID列表
- */
- List<Integer> selectExecutedJobIds(@Param("startTime") LocalDateTime startTime,
- @Param("endTime") LocalDateTime endTime);
- /**
- * 查询任务最新一条执行记录
- */
- Map<String, Object> selectLastExecLog(@Param("jobId") Integer jobId,
- @Param("endTime") LocalDateTime endTime);
- }
|