package com.hotwj.platform.securityManagement.trainingCourseRecord.mapper;

import com.hotwj.platform.securityManagement.trainingCourseRecord.domain.HotTrainingCourseRecord;
import com.hotwj.platform.securityManagement.trainingCourseRecord.domain.vo.HotTrainingCourseRecordVo;
import com.hotwj.platform.securityManagement.trainingCourseRecord.domain.vo.PersonalAnnualRecordCourseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.Date;
import java.util.List;

/**
 * 培训人员课程学习记录Mapper接口
 *
 * @author shihongwei
 * @date 2026-02-02
 */
@Mapper
public interface HotTrainingCourseRecordMapper extends BaseMapperPlus<HotTrainingCourseRecord, HotTrainingCourseRecordVo> {

    List<PersonalAnnualRecordCourseVo> selectPersonalAnnualRecordCourses(@Param("userId") String userId,
                                                                         @Param("startTime") Date startTime,
                                                                         @Param("endTime") Date endTime,
                                                                         @Param("trainingType") String trainingType);
}
