You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
1.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.aurora.mapper;
import com.aurora.entity.JobLog;//导入定时任务日志实体类JobLog该实体类与数据库中的存储定时任务执行日志表相对应通常记录任务名称、
//执行状态、执行时间、异常信息等内容)
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import java.util.List;// 导入Java集合框架中的List接口用于返回多个日志分组名称的集合
@Repository
public interface JobLogMapper extends BaseMapper<JobLog> {//定时任务日志模块的数据访问层接口
// 自定义查询方法:获取任务日志的所有分组列表(通常基于特定字段进行分组统计)
// 返回字符串列表,每个字符串代表一个分组标识(如按任务状态分组返回["SUCCESS", "FAILED"],或按时间维度分组如["2025-10", "2025-09"]
// 此方法常用于后台管理系统中的日志分类筛选、统计图表展示或日志归档功能
List<String> listJobLogGroups();
}