package cn.iocoder.yudao.module.member.dal.mysql.user;


import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.member.dal.dataobject.user.MemberCardGiftRecordDO;
import org.apache.ibatis.annotations.Mapper;


/**
 * 会员卡赠送明细 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface MemberCardGiftRecordMapper extends BaseMapperX<MemberCardGiftRecordDO> {

//    default PageResult<CardGiftRecordDO> selectPage(CardGiftRecordPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<CardGiftRecordDO>()
//                .eqIfPresent(CardGiftRecordDO::getMemberUserId, reqVO.getMemberUserId())
//                .likeIfPresent(CardGiftRecordDO::getMemberUserName, reqVO.getMemberUserName())
//                .eqIfPresent(CardGiftRecordDO::getMemberCardId, reqVO.getMemberCardId())
//                .likeIfPresent(CardGiftRecordDO::getCardName, reqVO.getCardName())
//                .eqIfPresent(CardGiftRecordDO::getCardNumber, reqVO.getCardNumber())
//                .eqIfPresent(CardGiftRecordDO::getAmount, reqVO.getAmount())
//                .betweenIfPresent(CardGiftRecordDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(CardGiftRecordDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(CardGiftRecordDO::getId));
//    }

}