6 天以前 0c23c1e9b9e06ffc570edac28ee45555b772b99c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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<SafetyInspectionRecord> {
 
    SafetyInspectionTodayStatistics selectTodayStatistics(@Param("statDate") LocalDate statDate);
 
    List<SafetyInspectionTrendStat> selectTrendStatistics(@Param("startDate") String startDate,
                                                          @Param("endDate") String endDate);
 
    List<SafetyInspectionTypeStat> selectTypeStatistics(@Param("startDate") String startDate,
                                                        @Param("endDate") String endDate);
 
    List<SafetyInspectorStat> selectInspectorStatistics(@Param("startDate") String startDate,
                                                        @Param("endDate") String endDate);
}