123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- package com.diagbot.mapper;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.baomidou.mybatisplus.core.metadata.IPage;
- import com.diagbot.dto.AverageStatisticsDTO;
- import com.diagbot.dto.DeptEntryNumDTO;
- import com.diagbot.dto.DeptNumDTO;
- import com.diagbot.dto.EntryNumDTO;
- import com.diagbot.dto.NumDTO;
- import com.diagbot.dto.QcResultPercentDTO;
- import com.diagbot.entity.QcresultInfo;
- import com.diagbot.vo.FilterPageByDeptVO;
- import com.diagbot.vo.FilterPageVO;
- import com.diagbot.vo.FilterVO;
- import com.diagbot.vo.QcresultFilterVO;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- /**
- * <p>
- * 质控评分结果信息
- 每次评分增加一条信息,前面所有评分is_deleted全部设置为Y Mapper 接口
- * </p>
- *
- * @author zhoutg
- * @since 2020-04-13
- */
- public interface QcresultInfoMapper extends BaseMapper<QcresultInfo> {
- /**
- * 筛选质控记录
- *
- * @param qcresultFilterVO
- * @return
- */
- public int getQcresultSelectively(QcresultFilterVO qcresultFilterVO);
- /**
- * 质控病历数统计
- *
- * @param qcresultFilterVO
- * @return
- */
- public int resultCount(QcresultFilterVO qcresultFilterVO);
- /**
- * 按科室统计各等级病历百分比
- *
- * @param filterVO
- * @return
- */
- public List<QcResultPercentDTO> levelPercentGroupByDept(FilterVO filterVO);
- /**
- * 按模块统计缺陷数
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> entryCountGroupByCase(FilterVO filterVO);
- /**
- * 条目缺陷分组统计
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> entryCountGroupByEntry(FilterVO filterVO);
- /**
- * 质控平均分按科室统计
- *
- * @param filterVO
- * @return
- */
- public List<AverageStatisticsDTO> getAverageScore(FilterVO filterVO);
- /**
- * 按科室统计质控病历数
- *
- * @param qcresultFilterVO
- * @return
- */
- public List<NumDTO> resultCountByDept(QcresultFilterVO qcresultFilterVO);
- /**
- * 各模块缺陷占比-按科室
- *
- * @param filterVO
- * @return
- */
- public List<DeptNumDTO> entryCountGroupByCaseAndDept(FilterVO filterVO);
- /**
- * 条目缺陷占比-按科室
- *
- * @param filterVO
- * @return
- */
- public List<DeptNumDTO> entryCountGroupByEntryAndDept(FilterVO filterVO);
- /**
- * 各模块缺陷占比(分页)
- *
- * @param filterPageVO
- * @return
- */
- public IPage<NumDTO> entryCountGroupByCasePage(@Param("filterPageVO") FilterPageVO filterPageVO);
- /**
- * 缺陷详情(分页)
- *
- * @param filterPageVO
- * @return
- */
- public IPage<EntryNumDTO> entryCountGroupByEntryPage(@Param("filterPageVO") FilterPageVO filterPageVO);
- /**
- * 各科室质控平均分(分页)
- *
- * @param filterPageVO
- * @return
- */
- public IPage<AverageStatisticsDTO> getAverageScoreByDeptPage(@Param("filterPageVO") FilterPageVO filterPageVO);
- /**
- * 各科室甲级病历占比排行(分页)
- *
- * @param filterPageVO
- * @return
- */
- public IPage<QcResultPercentDTO> levelPercentGroupByDeptPage(@Param("filterPageVO") FilterPageVO filterPageVO);
- /**
- * 各模块缺陷占比-科室(分页)
- *
- * @param filterPageByDeptVO
- * @return
- */
- public IPage<DeptNumDTO> entryCountGroupByCaseAndDeptPage(@Param("filterPageByDeptVO") FilterPageByDeptVO filterPageByDeptVO);
- /**
- * 缺陷详情-科室(分页)
- *
- * @param filterPageByDeptVO
- * @return
- */
- public IPage<DeptEntryNumDTO> entryCountGroupByEntryAndDeptPage(@Param("filterPageByDeptVO") FilterPageByDeptVO filterPageByDeptVO);
- /**
- * 条目缺陷占比(内页)
- *
- * @return
- */
- public IPage<EntryNumDTO> entryGroupByEntryInnerPage(@Param("filterPageVO") FilterPageVO filterPageVO);
- /**
- * 条目缺陷占比-科室(内页)
- *
- * @param filterPageByDeptVO
- * @return
- */
- public IPage<DeptEntryNumDTO> entryGroupByEntryAndDeptInnerPage(@Param("filterPageByDeptVO") FilterPageByDeptVO filterPageByDeptVO);
- /**
- * 各科室质控平均分(首页)-根据内外科系统统计
- *
- * @param filterVO
- * @return
- */
- public List<AverageStatisticsDTO> getAverageScoreByDeptClass(FilterVO filterVO);
- /**
- * 单项否决缺陷占比
- *
- * @param filterVO
- * @return
- */
- public List<EntryNumDTO> entryRejectPercent(FilterVO filterVO);
- /**
- * 各科室甲/乙/丙级病历占比
- *
- * @param filterVO
- * @return
- */
- public List<DeptNumDTO> qcResultLevelPercent(FilterVO filterVO);
- }
|