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


import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserRewardsPunishmentsDO;

import org.apache.ibatis.annotations.Mapper;


/**
 * 用户奖惩记录 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface AdminUserRewardsPunishmentsMapper extends BaseMapperX<AdminUserRewardsPunishmentsDO> {

//    default PageResult<UserRewardsPunishmentsDO> selectPage(UserRewardsPunishmentsPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<UserRewardsPunishmentsDO>()
//                .eqIfPresent(UserRewardsPunishmentsDO::getUserId, reqVO.getUserId())
//                .eqIfPresent(UserRewardsPunishmentsDO::getType, reqVO.getType())
//                .betweenIfPresent(UserRewardsPunishmentsDO::getRewardPunishmentDate, reqVO.getRewardPunishmentDate())
//                .eqIfPresent(UserRewardsPunishmentsDO::getReason, reqVO.getReason())
//                .eqIfPresent(UserRewardsPunishmentsDO::getContext, reqVO.getContext())
//                .eqIfPresent(UserRewardsPunishmentsDO::getOrganizational, reqVO.getOrganizational())
//                .betweenIfPresent(UserRewardsPunishmentsDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(UserRewardsPunishmentsDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(UserRewardsPunishmentsDO::getId));
//    }

}