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

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


/**
 * 服务对象 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface ServiceObjectMapper extends BaseMapperX<ServiceObjectDO> {

//    default PageResult<ObjectDO> selectPage(ObjectPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<ObjectDO>()
//                .eqIfPresent(ObjectDO::getElderId, reqVO.getElderId())
//                .likeIfPresent(ObjectDO::getElderName, reqVO.getElderName())
//                .eqIfPresent(ObjectDO::getElderSex, reqVO.getElderSex())
//                .eqIfPresent(ObjectDO::getBirthday, reqVO.getBirthday())
//                .eqIfPresent(ObjectDO::getElderAvatar, reqVO.getElderAvatar())
//                .eqIfPresent(ObjectDO::getLabel, reqVO.getLabel())
//                .eqIfPresent(ObjectDO::getPhone, reqVO.getPhone())
//                .eqIfPresent(ObjectDO::getTelephone, reqVO.getTelephone())
//                .eqIfPresent(ObjectDO::getIdType, reqVO.getIdType())
//                .eqIfPresent(ObjectDO::getIdCard, reqVO.getIdCard())
//                .eqIfPresent(ObjectDO::getCapabilityLevel, reqVO.getCapabilityLevel())
//                .eqIfPresent(ObjectDO::getNursingGrade, reqVO.getNursingGrade())
//                .eqIfPresent(ObjectDO::getNation, reqVO.getNation())
//                .eqIfPresent(ObjectDO::getLiveSituation, reqVO.getLiveSituation())
//                .eqIfPresent(ObjectDO::getNativePlace, reqVO.getNativePlace())
//                .eqIfPresent(ObjectDO::getMaritalStatus, reqVO.getMaritalStatus())
//                .eqIfPresent(ObjectDO::getReligion, reqVO.getReligion())
//                .eqIfPresent(ObjectDO::getDegreeEducation, reqVO.getDegreeEducation())
//                .eqIfPresent(ObjectDO::getEconomySource, reqVO.getEconomySource())
//                .eqIfPresent(ObjectDO::getPaymentMethod, reqVO.getPaymentMethod())
//                .eqIfPresent(ObjectDO::getPhysicalCondition, reqVO.getPhysicalCondition())
//                .eqIfPresent(ObjectDO::getServiceContact, reqVO.getServiceContact())
//                .eqIfPresent(ObjectDO::getContactPhone, reqVO.getContactPhone())
//                .eqIfPresent(ObjectDO::getProvince, reqVO.getProvince())
//                .eqIfPresent(ObjectDO::getProvinceId, reqVO.getProvinceId())
//                .eqIfPresent(ObjectDO::getCityId, reqVO.getCityId())
//                .eqIfPresent(ObjectDO::getCity, reqVO.getCity())
//                .eqIfPresent(ObjectDO::getAreaId, reqVO.getAreaId())
//                .eqIfPresent(ObjectDO::getArea, reqVO.getArea())
//                .eqIfPresent(ObjectDO::getServiceAddress, reqVO.getServiceAddress())
//                .eqIfPresent(ObjectDO::getLongitude, reqVO.getLongitude())
//                .eqIfPresent(ObjectDO::getLatitude, reqVO.getLatitude())
//                .eqIfPresent(ObjectDO::getServiceEnvironment, reqVO.getServiceEnvironment())
//                .eqIfPresent(ObjectDO::getRemarks, reqVO.getRemarks())
//                .eqIfPresent(ObjectDO::getStatus, reqVO.getStatus())
//                .betweenIfPresent(ObjectDO::getCreateTime, reqVO.getCreateTime())
//                .eqIfPresent(ObjectDO::getOrgType, reqVO.getOrgType())
//                .orderByDesc(ObjectDO::getId));
//    }

}