package com.ruoyi.clock.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.clock.domain.Activity;
import com.ruoyi.clock.domain.bo.ActivityBo;
import com.ruoyi.clock.domain.vo.ActivityVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 活动信息Mapper接口
 *
 * @author pengc
 * @date 2026-03-04
 */
public interface ActivityMapper extends BaseMapperPlus<ActivityMapper, Activity, ActivityVo> {

    Page<ActivityVo> selectActivityList(Page<Object> build, @Param("bo") ActivityBo bo);

    List<ActivityVo> selectActivityList(@Param("bo") ActivityBo bo);

    ActivityVo selectActivityById(@Param("activityId")Long activityId);

}
