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


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


/**
 * 租户基本信息 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface TenantBaseInfoMapper extends BaseMapperX<TenantBaseInfoDO> {

//    default PageResult<TenantBaseInfoDO> selectPage(TenantBaseInfoPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<TenantBaseInfoDO>()
//                .eqIfPresent(TenantBaseInfoDO::getOrgCode, reqVO.getOrgCode())
//                .eqIfPresent(TenantBaseInfoDO::getUnifiedSocialCreditCode, reqVO.getUnifiedSocialCreditCode())
//                .betweenIfPresent(TenantBaseInfoDO::getCreationDate, reqVO.getCreationDate())
//                .eqIfPresent(TenantBaseInfoDO::getBelongAdministrativeDivision, reqVO.getBelongAdministrativeDivision())
//                .eqIfPresent(TenantBaseInfoDO::getAdministrativeDivision, reqVO.getAdministrativeDivision())
//                .eqIfPresent(TenantBaseInfoDO::getSurvivalCode, reqVO.getSurvivalCode())
//                .eqIfPresent(TenantBaseInfoDO::getBusinessType, reqVO.getBusinessType())
//                .eqIfPresent(TenantBaseInfoDO::getOrgLevel, reqVO.getOrgLevel())
//                .eqIfPresent(TenantBaseInfoDO::getCoverArea, reqVO.getCoverArea())
//                .eqIfPresent(TenantBaseInfoDO::getPlaceNature, reqVO.getPlaceNature())
//                .eqIfPresent(TenantBaseInfoDO::getUnitNature, reqVO.getUnitNature())
//                .eqIfPresent(TenantBaseInfoDO::getLocation, reqVO.getLocation())
//                .eqIfPresent(TenantBaseInfoDO::getEstablishmentSubject, reqVO.getEstablishmentSubject())
//                .eqIfPresent(TenantBaseInfoDO::getIsHardshipSupportOrg, reqVO.getIsHardshipSupportOrg())
//                .eqIfPresent(TenantBaseInfoDO::getIsGloryHall, reqVO.getIsGloryHall())
//                .eqIfPresent(TenantBaseInfoDO::getIsRegionalStreetElderlyCareCenter, reqVO.getIsRegionalStreetElderlyCareCenter())
//                .eqIfPresent(TenantBaseInfoDO::getElderlyType, reqVO.getElderlyType())
//                .eqIfPresent(TenantBaseInfoDO::getOtherElderlyType, reqVO.getOtherElderlyType())
//                .eqIfPresent(TenantBaseInfoDO::getIsHaveLiabilityInsurance, reqVO.getIsHaveLiabilityInsurance())
//                .eqIfPresent(TenantBaseInfoDO::getIsLongTermCareInsurance, reqVO.getIsLongTermCareInsurance())
//                .eqIfPresent(TenantBaseInfoDO::getIsItRegistered, reqVO.getIsItRegistered())
//                .orderByDesc(TenantBaseInfoDO::getId));
//    }

}