123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- package com.diagbot.mapper;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.baomidou.mybatisplus.core.metadata.IPage;
- import com.diagbot.dto.BehospitalInfoDTO;
- import com.diagbot.dto.DeptNumDTO;
- import com.diagbot.dto.EntryStatisticsDTO;
- import com.diagbot.dto.ExportExcelDTO;
- import com.diagbot.dto.HomePageNumDTO;
- import com.diagbot.dto.LevelStatisticsDTO;
- import com.diagbot.dto.LevelStatisticsTZDTO;
- import com.diagbot.dto.MsgDTO;
- import com.diagbot.dto.NumDTO;
- import com.diagbot.dto.QcResultShortDTO;
- import com.diagbot.entity.BehospitalInfo;
- import com.diagbot.vo.AnalyzeCodeVO;
- import com.diagbot.vo.AnalyzeVO;
- import com.diagbot.vo.BehospitalPageVO;
- import com.diagbot.vo.EntryStatisticsVO;
- import com.diagbot.vo.ExportQcresultVO;
- import com.diagbot.vo.FilterOrderByDeptVO;
- import com.diagbot.vo.FilterOrderVO;
- import com.diagbot.vo.FilterPageByDeptVO;
- import com.diagbot.vo.FilterPageVO;
- import com.diagbot.vo.FilterVO;
- import com.diagbot.vo.QcResultShortPageVO;
- import com.diagbot.vo.TaskVO;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- /**
- * <p>
- * 住院病历信息 Mapper 接口
- * </p>
- *
- * @author zhoutg
- * @since 2020-04-13
- */
- public interface BehospitalInfoMapper extends BaseMapper<BehospitalInfo> {
- public IPage<BehospitalInfoDTO> getPage(BehospitalPageVO behospitalPageVO);
- public List<MsgDTO> getMsg(AnalyzeVO analyzeVO);
- public List<MsgDTO> getMsgByEntryCode(AnalyzeCodeVO analyzeCodeVO);
- /**
- * 各科室缺陷占比-全院-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> entryByDept(FilterVO filterVO);
- /**
- * 质控结果缺陷总数查询
- *
- * @param filterVO
- * @return
- */
- public int getTotleResultNum(FilterVO filterVO);
- public List<BehospitalInfo> getNoGrade(TaskVO taskVO);
- IPage<BehospitalInfoDTO> getPageByDept(BehospitalPageVO behospitalPageVO);
- IPage<BehospitalInfoDTO> getPageByPerson(BehospitalPageVO behospitalPageVO);
- IPage<BehospitalInfoDTO> getPageByGroup(BehospitalPageVO behospitalPageVO);
- /**
- * 出院总人数统计-全院-首页
- *
- * @param filterVO
- * @return
- */
- public int leaveHosCount(FilterVO filterVO);
- /**
- * 新生儿出院人数统计-全院-首页
- *
- * @param filterVO
- * @return
- */
- public int newBornCount(FilterVO filterVO);
- /**
- * 死亡人数统计-全院-首页
- *
- * @param filterVO
- * @return
- */
- public int deathCount(FilterVO filterVO);
- /**
- * 手术人数统计-全院-首页
- *
- * @param filterVO
- * @return
- */
- public int operationCount(FilterVO filterVO);
- /**
- * 出院总人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> leaveHosCountByDept(FilterVO filterVO);
- /**
- * 新生儿出院人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> newBornCountByDept(FilterVO filterVO);
- /**
- * 死亡人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> deathCountByDept(FilterVO filterVO);
- /**
- * 手术人数统计-科室-首页
- *
- * @param filterVO
- * @return
- */
- public List<NumDTO> operationCountByDept(FilterVO filterVO);
- /**
- * 各科室缺陷占比排行(分页)
- *
- * @param filterPageVO
- * @return
- */
- public IPage<NumDTO> resultStatisticsByDeptPage(@Param("filterPageVO") FilterPageVO filterPageVO);
- /**
- * 各科室缺陷占比(组合)
- *
- * @param filterOrderVO
- * @return
- */
- public List<LevelStatisticsDTO> levelStatistics(FilterOrderVO filterOrderVO);
- /**
- * 病案首页合格率占比
- *
- * @param filterOrderVO
- * @return
- */
- public List<HomePageNumDTO> homePageLevelStatistics(FilterOrderVO filterOrderVO);
- /**
- * 各科室缺陷占比(主任医生)
- *
- * @param filterOrderByDeptVO
- * @return
- */
- public List<LevelStatisticsDTO> levelStatisticsByDept(FilterOrderByDeptVO filterOrderByDeptVO);
- /**
- * 病案首页合格率占比(主任医生)
- *
- * @param filterOrderByDeptVO
- * @return
- */
- public List<HomePageNumDTO> homePageLevelStatisticsByDept(FilterOrderByDeptVO filterOrderByDeptVO);
- /**
- * 科室缺陷占比-科室(分页)
- *
- * @param filterPageByDeptVO
- * @return
- */
- public IPage<DeptNumDTO> resultStatisticsByDeptAndDoctorPage(@Param("filterPageByDeptVO") FilterPageByDeptVO filterPageByDeptVO);
- /**
- * 各科室缺陷占比(组合)-全院-根据内外科系统统计-关联上级科室
- *
- * @param filterOrderVO
- * @return
- */
- public List<LevelStatisticsTZDTO> levelStatisticsByDeptClass(FilterOrderVO filterOrderVO);
- /**
- * 各科室缺陷占比(组合)-全院-根据内外科系统统计(台州)
- *
- * @param filterOrderVO
- * @return
- */
- public List<LevelStatisticsTZDTO> levelStatisticsByDeptClass_TZ(FilterOrderVO filterOrderVO);
- List<ExportExcelDTO> exportExcel();
- /**
- * 质控评分导出到excel
- *
- * @param exportQcresultVO
- * @return
- */
- public List<ExportExcelDTO> exportQcresult(ExportQcresultVO exportQcresultVO);
- /**
- * 科室质控评分导出到excel
- *
- * @param exportQcresultVO
- * @return
- */
- public List<ExportExcelDTO> exportQcresultByDept(ExportQcresultVO exportQcresultVO);
- /**
- * 医疗组质控评分导出到excel
- *
- * @param exportQcresultVO
- * @return
- */
- public List<ExportExcelDTO> exportQcresultByGroup(ExportQcresultVO exportQcresultVO);
- /**
- * 条目缺陷质控评分页(内页)
- *
- * @param qcResultShortPageVO
- * @return
- */
- public IPage<QcResultShortDTO> qcResultShortPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 条目缺陷质控评分页-科室(内页)
- *
- * @param qcResultShortPageVO
- * @return
- */
- public IPage<QcResultShortDTO> qcResultShortByDeptPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO);
- /**
- * 根据两个主键-批量修改
- *
- * @param list
- */
- public void updateBatchByKey(List<BehospitalInfo> list);
- /**
- * 关键条目缺陷占比统计
- *
- * @param entryStatisticsVO
- * @return
- */
- public List<EntryStatisticsDTO> entryStatistics(EntryStatisticsVO entryStatisticsVO);
- }
|