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

import com.hotwj.platform.securityManagement.trainingCourseConfig.domain.HotTrainingCourseConfig;
import com.hotwj.platform.securityManagement.trainingCourseConfig.domain.vo.HotTrainingCourseConfigVo;
import com.hotwj.platform.securityManagement.trainingCourseConfig.domain.vo.TrainingUserCourseStudyDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 企业课程配置Mapper接口
 *
 * @author shihongwei
 * @date 2026-01-24
 */
@Mapper
public interface HotTrainingCourseConfigMapper extends BaseMapperPlus<HotTrainingCourseConfig, HotTrainingCourseConfigVo> {

    List<TrainingUserCourseStudyDetailVo> selectTrainingUserCourseStudyDetail(
            @Param("companyId") Long companyId,
            @Param("trainingId") Long trainingId,
            @Param("userId") String userId
    );
}
