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.AdminUserEducationDO;
import org.apache.ibatis.annotations.Mapper;


/**
 * 用户教育背景 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface AdminUserEducationMapper extends BaseMapperX<AdminUserEducationDO> {

//    default PageResult<UserEducationDO> selectPage(UserEducationPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<UserEducationDO>()
//                .eqIfPresent(UserEducationDO::getUserId, reqVO.getUserId())
//                .betweenIfPresent(UserEducationDO::getStartDate, reqVO.getStartDate())
//                .betweenIfPresent(UserEducationDO::getEndDate, reqVO.getEndDate())
//                .likeIfPresent(UserEducationDO::getSchoolName, reqVO.getSchoolName())
//                .eqIfPresent(UserEducationDO::getMajor, reqVO.getMajor())
//                .eqIfPresent(UserEducationDO::getEducationalBackground, reqVO.getEducationalBackground())
//                .eqIfPresent(UserEducationDO::getIsGraduate, reqVO.getIsGraduate())
//                .betweenIfPresent(UserEducationDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(UserEducationDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(UserEducationDO::getId));
//    }

}