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

/**
 * 用户工作经历 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface AdminUserWorkExperienceMapper extends BaseMapperX<AdminUserWorkExperienceDO> {

//    default PageResult<UserWorkExperienceDO> selectPage(UserWorkExperiencePageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<UserWorkExperienceDO>()
//                .eqIfPresent(UserWorkExperienceDO::getUserId, reqVO.getUserId())
//                .betweenIfPresent(UserWorkExperienceDO::getStartDate, reqVO.getStartDate())
//                .betweenIfPresent(UserWorkExperienceDO::getEndDate, reqVO.getEndDate())
//                .likeIfPresent(UserWorkExperienceDO::getCompanyName, reqVO.getCompanyName())
//                .eqIfPresent(UserWorkExperienceDO::getOccupationType, reqVO.getOccupationType())
//                .eqIfPresent(UserWorkExperienceDO::getJob, reqVO.getJob())
//                .eqIfPresent(UserWorkExperienceDO::get
//salary, reqVO.get
//salary())
//                .eqIfPresent(UserWorkExperienceDO::getReasonsForLeaving, reqVO.getReasonsForLeaving())
//                .betweenIfPresent(UserWorkExperienceDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(UserWorkExperienceDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(UserWorkExperienceDO::getId));
//    }

}