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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package com.ruoyi.report.mapper;
 
import com.ruoyi.report.dto.DashboardDto;
import com.ruoyi.report.vo.RankingVo;
import com.ruoyi.report.vo.TaskCalendarVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * 数字化语音看板Mapper
 */
@Mapper
public interface DashboardMapper {
 
    /**
     * 获取待领样品数
     */
    Integer getWaitReceive();
 
    /**
     * 获取待检样品数
     */
    Integer getWaitInspection();
 
    /**
     * 获取待审核样品数
     */
    Integer getWaitAudit();
 
    /**
     * 获取待编制报告数
     */
    Integer getWaitReport();
 
    /**
     * 今日新增样品
     */
    Integer getTodayNewSample();
 
    /**
     * 今日完成样品
     */
    Integer getTodayFinished();
 
    /**
     * 历史N天数据
     */
    List<TaskCalendarVo> getHistoryDays(@Param("days") Integer days, @Param("dto") DashboardDto dto);
 
    /**
     * 未来N天任务
     */
    List<TaskCalendarVo> getFutureDays(@Param("days") Integer days, @Param("dto") DashboardDto dto);
 
    /**
     * 提交排行(原始记录)
     */
    List<RankingVo> getOriginalRecordRanking(@Param("dto") DashboardDto dto);
 
    /**
     * 提交排行(报告)
     */
    List<RankingVo> getReportRanking(@Param("dto") DashboardDto dto);
 
    /**
     * 近30天检验结果
     */
    List<Map<String, Object>> getInsResultByDays(@Param("days") Integer days, @Param("orderType") String orderType);
 
    /**
     * 获取语音播报队列
     */
    List<Map<String, Object>> getVoiceQueue();
 
}