package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.OfficialActivity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OfficialActivityMapper extends BaseMapper<OfficialActivity> {

    void updateActivityStatus(Date dateTime);

    /**
     *根据角色查询当前角色活动
     * @date: 2022/2/18 15:10
     * @param condition:
     * @return java.util.List<cn.pluss.platform.entity.OfficialActivity>
     */
    List<OfficialActivity> getListByRole(OfficialActivity condition);
}
