package rd.dao.mapper.activity;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import rd.data.db.table.Activity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {
    List<Activity> getConflictActivity(@Param("start") LocalDateTime start,
                                       @Param("end") LocalDateTime end
    );
}
