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


/**
 * 会员积分清零配置 Mapper
 *
 * @author PM01测试
 */
@Mapper
public interface MemberPointsResetConfigMapper extends BaseMapperX<MemberPointsResetConfigDO> {

//    default PageResult<PointsResetConfigDO> selectPage(PointsResetConfigPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<PointsResetConfigDO>()
//                .eqIfPresent(PointsResetConfigDO::getAutoReset, reqVO.getAutoReset())
//                .betweenIfPresent(PointsResetConfigDO::getResetDate, reqVO.getResetDate())
//                .betweenIfPresent(PointsResetConfigDO::getBeforeResetDate, reqVO.getBeforeResetDate())
//                .eqIfPresent(PointsResetConfigDO::getOrgType, reqVO.getOrgType())
//                .betweenIfPresent(PointsResetConfigDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(PointsResetConfigDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(PointsResetConfigDO::getId));
//    }

}