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

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.system.dal.dataobject.biz.ActivityExecutionRecordDO;
import org.apache.ibatis.annotations.Mapper;


/**
 * 月度活动执行计划记录 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface ActivityExecutionRecordMapper extends BaseMapperX<ActivityExecutionRecordDO> {

//    default PageResult<ActivityExecutionRecordDO> selectPage(ActivityExecutionRecordPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<ActivityExecutionRecordDO>()
//                .eqIfPresent(ActivityExecutionRecordDO::getActivityId, reqVO.getActivityId())
//                .eqIfPresent(ActivityExecutionRecordDO::getNumber, reqVO.getNumber())
//                .eqIfPresent(ActivityExecutionRecordDO::getActivityRecord, reqVO.getActivityRecord())
//                .eqIfPresent(ActivityExecutionRecordDO::getActivityImages, reqVO.getActivityImages())
//                .eqIfPresent(ActivityExecutionRecordDO::getFiles, reqVO.getFiles())
//                .eqIfPresent(ActivityExecutionRecordDO::getHighlights, reqVO.getHighlights())
//                .eqIfPresent(ActivityExecutionRecordDO::getUnderactivity, reqVO.getUnderactivity())
//                .eqIfPresent(ActivityExecutionRecordDO::getIsSuccess, reqVO.getIsSuccess())
//                .eqIfPresent(ActivityExecutionRecordDO::getReason, reqVO.getReason())
//                .eqIfPresent(ActivityExecutionRecordDO::getParticipantIds, reqVO.getParticipantIds())
//                .eqIfPresent(ActivityExecutionRecordDO::getCreatedBy, reqVO.getCreatedBy())
//                .betweenIfPresent(ActivityExecutionRecordDO::getCreatedTime, reqVO.getCreatedTime())
//                .orderByDesc(ActivityExecutionRecordDO::getId));
//    }

}