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();
|
|
}
|