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


/**
 * 用户家庭情况 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface AdminUserFamilySituationMapper extends BaseMapperX<AdminUserFamilySituationDO> {

//    default PageResult<UserFamilySituationDO> selectPage(UserFamilySituationPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<UserFamilySituationDO>()
//                .eqIfPresent(UserFamilySituationDO::getUserId, reqVO.getUserId())
//                .eqIfPresent(UserFamilySituationDO::getRelation, reqVO.getRelation())
//                .likeIfPresent(UserFamilySituationDO::getName, reqVO.getName())
//                .eqIfPresent(UserFamilySituationDO::getAge, reqVO.getAge())
//                .likeIfPresent(UserFamilySituationDO::getOrganizationName, reqVO.getOrganizationName())
//                .eqIfPresent(UserFamilySituationDO::getJob, reqVO.getJob())
//                .eqIfPresent(UserFamilySituationDO::getContactInformation, reqVO.getContactInformation())
//                .betweenIfPresent(UserFamilySituationDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(UserFamilySituationDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(UserFamilySituationDO::getId));
//    }

}