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


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

/**
 * 预约床位押金 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface ReservationDepositMapper extends BaseMapperX<ReservationDepositDO> {

//    default PageResult<ReservationDepositDO> selectPage(ReservationDepositPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<ReservationDepositDO>()
//                .likeIfPresent(ReservationDepositDO::getElderName, reqVO.getElderName())
//                .eqIfPresent(ReservationDepositDO::getIdCardNumber, reqVO.getIdCardNumber())
//                .eqIfPresent(ReservationDepositDO::getDepositAmount, reqVO.getDepositAmount())
//                .eqIfPresent(ReservationDepositDO::getReservationId, reqVO.getReservationId())
//                .betweenIfPresent(ReservationDepositDO::getCreateTime, reqVO.getCreateTime())
//                .eqIfPresent(ReservationDepositDO::getOrgType, reqVO.getOrgType())
//                .orderByDesc(ReservationDepositDO::getId));
//    }

}