package com.njzscloud.supervisory.dispose.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njzscloud.supervisory.dispose.pojo.DisposeRecordEntity;
import com.njzscloud.supervisory.dispose.pojo.DisposeRecordExportResult;
import com.njzscloud.supervisory.dispose.pojo.DisposeRecordStatisticsResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

/**
 * 处置记录
 */
@Mapper
public interface DisposeRecordMapper extends BaseMapper<DisposeRecordEntity> {

    List<DisposeRecordExportResult> export(@Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate);

    List<DisposeRecordStatisticsResult> statistics(@Param("date") String date);
}
