package com.yeejoin.amos.boot.module.hygf.api.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.hygf.api.dto.TrainingDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.Training;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 培训信息表 Mapper 接口
 *
 * @author system_generator
 * @date 2024-03-11
 */
public interface TrainingMapper extends BaseMapper<Training> {

/**
 * 查询当前人培训资料学习状态
 * */
   List<TrainingDto> currentStudyStatusList(
           @Param("current") Integer current,
           @Param("size") Integer size,
           @Param("userId") String userId,
           @Param("status")  Integer status,
           @Param("name") String name
           );

}
