package com.jeeplus.pubmodules.luckyDraw.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jeeplus.pubmodules.luckyDraw.domain.LuckyDrawEvents;
import com.jeeplus.pubmodules.luckyDraw.service.dto.LuckyDrawEventsDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.jeeplus.test.luckyDraw.domain.LuckyDrawEvents
 */
@Mapper
@InterceptorIgnore(tenantLine = "true")
public interface LuckyDrawEventsMapper extends BaseMapper<LuckyDrawEvents> {

    IPage<LuckyDrawEventsDTO> findList(Page<LuckyDrawEventsDTO> page, @Param(Constants.WRAPPER) QueryWrapper<LuckyDrawEvents> queryWrapper);

    LuckyDrawEventsDTO queryById(@Param("id") String id);

    void changeSwitchOpen(@Param("id") String id);

    void changeSwitchClose(@Param("id") String id);
}




