package com.ruoyi.safety.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.safety.dto.SafetyInspectionTodayStatistics; import com.ruoyi.safety.dto.SafetyInspectionTrendStat; import com.ruoyi.safety.dto.SafetyInspectionTypeStat; import com.ruoyi.safety.dto.SafetyInspectorStat; import com.ruoyi.safety.pojo.SafetyInspectionRecord; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.time.LocalDate; import java.util.List; @Mapper public interface SafetyInspectionRecordMapper extends BaseMapper { SafetyInspectionTodayStatistics selectTodayStatistics(@Param("statDate") LocalDate statDate); List selectTrendStatistics(@Param("startDate") String startDate, @Param("endDate") String endDate); List selectTypeStatistics(@Param("startDate") String startDate, @Param("endDate") String endDate); List selectInspectorStatistics(@Param("startDate") String startDate, @Param("endDate") String endDate); }