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


/**
 * 月度活动物品采购 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface ActivityItemPurchaseMapper extends BaseMapperX<ActivityItemPurchaseDO> {

//    default PageResult<ActivityItemPurchaseDO> selectPage(ActivityItemPurchasePageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<ActivityItemPurchaseDO>()
//                .eqIfPresent(ActivityItemPurchaseDO::getActivityExecutionRecordId, reqVO.getActivityExecutionRecordId())
//                .likeIfPresent(ActivityItemPurchaseDO::getName, reqVO.getName())
//                .eqIfPresent(ActivityItemPurchaseDO::getPrice, reqVO.getPrice())
//                .eqIfPresent(ActivityItemPurchaseDO::getCount, reqVO.getCount())
//                .eqIfPresent(ActivityItemPurchaseDO::getAmount, reqVO.getAmount())
//                .eqIfPresent(ActivityItemPurchaseDO::getFiles, reqVO.getFiles())
//                .eqIfPresent(ActivityItemPurchaseDO::getCreatedBy, reqVO.getCreatedBy())
//                .betweenIfPresent(ActivityItemPurchaseDO::getCreatedTime, reqVO.getCreatedTime())
//                .orderByDesc(ActivityItemPurchaseDO::getId));
//    }

}