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.MemberBonusPointsDO;
import org.apache.ibatis.annotations.Mapper;


/**
 * 会员积分加分记录 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface MemberBonusPointsMapper extends BaseMapperX<MemberBonusPointsDO> {

//    default PageResult<BonusPointsDO> selectPage(BonusPointsPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<BonusPointsDO>()
//                .eqIfPresent(BonusPointsDO::getMemberUserId, reqVO.getMemberUserId())
//                .likeIfPresent(BonusPointsDO::getItemName, reqVO.getItemName())
//                .eqIfPresent(BonusPointsDO::getPoints, reqVO.getPoints())
//                .betweenIfPresent(BonusPointsDO::getPointsDate, reqVO.getPointsDate())
//                .eqIfPresent(BonusPointsDO::getRemarks, reqVO.getRemarks())
//                .betweenIfPresent(BonusPointsDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(BonusPointsDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(BonusPointsDO::getId));
//    }

}