package cn.iocoder.yudao.module.system.dal.mysql.user;


import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserTrainingExperienceDO;
import org.apache.ibatis.annotations.Mapper;


/**
 * 用户培训经历 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface AdminUserTrainingExperienceMapper extends BaseMapperX<AdminUserTrainingExperienceDO> {

//    default PageResult<UserTrainingExperienceDO> selectPage(UserTrainingExperiencePageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<UserTrainingExperienceDO>()
//                .eqIfPresent(UserTrainingExperienceDO::getUserId, reqVO.getUserId())
//                .betweenIfPresent(UserTrainingExperienceDO::getStartDate, reqVO.getStartDate())
//                .betweenIfPresent(UserTrainingExperienceDO::getEndDate, reqVO.getEndDate())
//                .eqIfPresent(UserTrainingExperienceDO::getTrainingProgram, reqVO.getTrainingProgram())
//                .eqIfPresent(UserTrainingExperienceDO::getTrainingContent, reqVO.getTrainingContent())
//                .eqIfPresent(UserTrainingExperienceDO::getAchievement, reqVO.getAchievement())
//                .eqIfPresent(UserTrainingExperienceDO::getTrainingOrganization, reqVO.getTrainingOrganization())
//                .eqIfPresent(UserTrainingExperienceDO::getTrainingCourse, reqVO.getTrainingCourse())
//                .eqIfPresent(UserTrainingExperienceDO::getIsSubsidy, reqVO.getIsSubsidy())
//                .eqIfPresent(UserTrainingExperienceDO::getSubsidyAmount, reqVO.getSubsidyAmount())
//                .betweenIfPresent(UserTrainingExperienceDO::getCreatedDate, reqVO.getCreatedDate())
//                .eqIfPresent(UserTrainingExperienceDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(UserTrainingExperienceDO::getId));
//    }

}