|
@@ -4,17 +4,14 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.diagbot.dto.*;
|
|
import com.diagbot.dto.*;
|
|
import com.diagbot.entity.BehospitalInfo;
|
|
import com.diagbot.entity.BehospitalInfo;
|
|
-import com.diagbot.entity.FilterRecordVO;
|
|
|
|
import com.diagbot.mapper.BehospitalInfoMapper;
|
|
import com.diagbot.mapper.BehospitalInfoMapper;
|
|
import com.diagbot.service.BehospitalInfoService;
|
|
import com.diagbot.service.BehospitalInfoService;
|
|
-import com.diagbot.util.ListUtil;
|
|
|
|
import com.diagbot.vo.*;
|
|
import com.diagbot.vo.*;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
-import java.time.LocalDateTime;
|
|
|
|
-import java.time.format.DateTimeFormatter;
|
|
|
|
-import java.util.*;
|
|
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
@@ -181,7 +178,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public IPage<QcResultShortDTO> getOrGoodLevelByDept(QcResultPageVO qcResultPageVO) {
|
|
public IPage<QcResultShortDTO> getOrGoodLevelByDept(QcResultPageVO qcResultPageVO) {
|
|
- return baseMapper.getIsGoodLevelByDept(qcResultPageVO);
|
|
|
|
|
|
+ return baseMapper.getIsGoodLevelByDept(qcResultPageVO);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -249,6 +246,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
public List<QualityControlDTO> getQualitySorce(CaseScoreVO caseScoreVO) {
|
|
public List<QualityControlDTO> getQualitySorce(CaseScoreVO caseScoreVO) {
|
|
return baseMapper.getQualitySorce(caseScoreVO);
|
|
return baseMapper.getQualitySorce(caseScoreVO);
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 病历质控报表-扣分数据
|
|
* 病历质控报表-扣分数据
|
|
*
|
|
*
|
|
@@ -507,6 +505,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
IPage<QcResultShortDTO> qcResultShortDTOIPage = baseMapper.leaveHosMRPage(qcResultShortPageVO);
|
|
IPage<QcResultShortDTO> qcResultShortDTOIPage = baseMapper.leaveHosMRPage(qcResultShortPageVO);
|
|
return qcResultShortDTOIPage;
|
|
return qcResultShortDTOIPage;
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 离院病人质控评分详情页-科室
|
|
* 离院病人质控评分详情页-科室
|
|
*
|
|
*
|
|
@@ -576,7 +575,6 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* 条目缺陷质控评分详情页导出到excel
|
|
* 条目缺陷质控评分详情页导出到excel
|
|
*
|
|
*
|
|
@@ -858,6 +856,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
return medicalCheckExport;
|
|
return medicalCheckExport;
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 病历稽查表导出-科室
|
|
* 病历稽查表导出-科室
|
|
*
|
|
*
|
|
@@ -939,6 +938,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
public List<ExportExcelDTO> badLevelPagePageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO) {
|
|
public List<ExportExcelDTO> badLevelPagePageExport(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO) {
|
|
return baseMapper.badLevelPagePageExport((qcResultShortPageVO));
|
|
return baseMapper.badLevelPagePageExport((qcResultShortPageVO));
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 病案首页不合格/合格数病历详情页导出-科室
|
|
* 病案首页不合格/合格数病历详情页导出-科室
|
|
*
|
|
*
|
|
@@ -951,7 +951,6 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* 31天再入院详情页
|
|
* 31天再入院详情页
|
|
*
|
|
*
|
|
@@ -962,6 +961,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
public IPage<ReBeHosMergeDTO> reHos31DaysPage(@Param("reBeHosPageVO") ReBeHosPageVO reBeHosPageVO) {
|
|
public IPage<ReBeHosMergeDTO> reHos31DaysPage(@Param("reBeHosPageVO") ReBeHosPageVO reBeHosPageVO) {
|
|
return baseMapper.reHos31DaysPage(reBeHosPageVO);
|
|
return baseMapper.reHos31DaysPage(reBeHosPageVO);
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 31天再入院详情页-科室
|
|
* 31天再入院详情页-科室
|
|
*
|
|
*
|
|
@@ -1047,7 +1047,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public Map<String,Object> getBaseIndex( MedIndexFilterVO timeVo) {
|
|
|
|
|
|
+ public Map<String, Object> getBaseIndex(MedIndexFilterVO timeVo) {
|
|
return baseMapper.getBaseIndex(timeVo);
|
|
return baseMapper.getBaseIndex(timeVo);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1058,7 +1058,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public Map<String,Object> getCountByEntry( FilterVO filterVO) {
|
|
|
|
|
|
+ public Map<String, Object> getCountByEntry(FilterVO filterVO) {
|
|
return baseMapper.getCountByEntry(filterVO);
|
|
return baseMapper.getCountByEntry(filterVO);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1069,7 +1069,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
- public List<MedManageParamsDTO> getMedManageParams( FilterVO filterVO) {
|
|
|
|
|
|
+ public List<MedManageParamsDTO> getMedManageParams(FilterVO filterVO) {
|
|
return baseMapper.getMedManageParams(filterVO);
|
|
return baseMapper.getMedManageParams(filterVO);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1083,6 +1083,7 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
public IPage<QcResultShortDTO> qcCheckMRPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO) {
|
|
public IPage<QcResultShortDTO> qcCheckMRPage(@Param("qcResultShortPageVO") QcResultShortPageVO qcResultShortPageVO) {
|
|
return baseMapper.qcCheckMRPage(qcResultShortPageVO);
|
|
return baseMapper.qcCheckMRPage(qcResultShortPageVO);
|
|
}
|
|
}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 质控核查质控评分页-科室(内页)
|
|
* 质控核查质控评分页-科室(内页)
|
|
*
|
|
*
|
|
@@ -1120,38 +1121,52 @@ public class BehospitalInfoServiceImpl extends ServiceImpl<BehospitalInfoMapper,
|
|
/**
|
|
/**
|
|
* 手术费,抗菌药物,手术和病理费等含有人数
|
|
* 手术费,抗菌药物,手术和病理费等含有人数
|
|
*
|
|
*
|
|
- * @param filterVO
|
|
|
|
|
|
+ * @param filterVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- public List<Map<String, String>> selectOperationNum(@Param("filterVO")FilterVO filterVO){
|
|
|
|
- return baseMapper.selectOperationNum(filterVO);
|
|
|
|
|
|
+ public List<Map<String, String>> selectOperationNum(@Param("filterVO") FilterVO filterVO) {
|
|
|
|
+ return baseMapper.selectOperationNum(filterVO);
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 触发规则人数
|
|
* 触发规则人数
|
|
|
|
+ *
|
|
* @param filterVO
|
|
* @param filterVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- public Map<String,Long> triggeringRules(@Param("filterVO")FilterVO filterVO){
|
|
|
|
- return baseMapper.triggeringRules(filterVO);
|
|
|
|
|
|
+ public Map<String, Long> triggeringRules(@Param("filterVO") FilterVO filterVO) {
|
|
|
|
+ return baseMapper.triggeringRules(filterVO);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 病案首页关联的出院病历
|
|
* 病案首页关联的出院病历
|
|
|
|
+ *
|
|
* @param filterVO
|
|
* @param filterVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- public List<Map<String,String>> getMedicalRecords(@Param("filterVO") FilterVO filterVO){
|
|
|
|
- return baseMapper.getMedicalRecords(filterVO);
|
|
|
|
|
|
+ public List<Map<String, String>> getMedicalRecords(@Param("filterVO") FilterVO filterVO) {
|
|
|
|
+ return baseMapper.getMedicalRecords(filterVO);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 首页恶性肿瘤人数
|
|
* 首页恶性肿瘤人数
|
|
|
|
+ *
|
|
* @param filterVO
|
|
* @param filterVO
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- public List<Map<String,String>> malignancy(@Param("filterVO") FilterVO filterVO){
|
|
|
|
- return baseMapper.malignancy(filterVO);
|
|
|
|
|
|
+ public List<Map<String, String>> malignancy(@Param("filterVO") FilterVO filterVO) {
|
|
|
|
+ return baseMapper.malignancy(filterVO);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 病历详情(H5)
|
|
|
|
+ *
|
|
|
|
+ * @param behInfoForH5VO
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public IPage<BehInfoForH5DTO> behospitalInfoForH5(BehInfoForH5VO behInfoForH5VO) {
|
|
|
|
+ return baseMapper.behospitalInfoForH5(behInfoForH5VO);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|