package com.jay.monitor.data.server.daos;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Module 分区操作
 * @Description 分区操作定义
 * @Author liukaixiong
 * @Date 2020/11/19 15:46
 */
public interface PartitionOperation<T> {

    public int batchPartitionInsert(@Param("date") String date, @Param("list") List<T> monitorList);

    public T selectPartitionById(@Param("date") String date, @Param("id") Integer id);

    public List<T> selectPartitionByList(@Param("date") String date, @Param("pageSize") Integer pageSize, @Param("record") T record)
        throws Exception;

}
