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

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.system.dal.dataobject.reservation.VisitRecordDetailDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 客户回访记录详情 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface VisitRecordDetailMapper extends BaseMapperX<VisitRecordDetailDO> {

//    default PageResult<VisitRecordDetailDO> selectPage(VisitRecordDetailPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<VisitRecordDetailDO>()
//                .eqIfPresent(VisitRecordDetailDO::getReturnVisitRecordId, reqVO.getReturnVisitRecordId())
//                .likeIfPresent(VisitRecordDetailDO::getCustomerName, reqVO.getCustomerName())
//                .eqIfPresent(VisitRecordDetailDO::getPhone, reqVO.getPhone())
//                .eqIfPresent(VisitRecordDetailDO::getReturnVisitor, reqVO.getReturnVisitor())
//                .betweenIfPresent(VisitRecordDetailDO::getReturnTime, reqVO.getReturnTime())
//                .eqIfPresent(VisitRecordDetailDO::getContent, reqVO.getContent())
//                .eqIfPresent(VisitRecordDetailDO::getStatus, reqVO.getStatus())
//                .orderByDesc(VisitRecordDetailDO::getId));
//    }

}