From 9ca1188c5a951ea2f4b94876098798c8cd64784c Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期五, 03 一月 2025 18:02:16 +0800
Subject: [PATCH] 1.bug修改

---
 medicalWaste-system/src/main/java/com/sinata/system/service/impl/MwCollectRecordServiceImpl.java |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/medicalWaste-system/src/main/java/com/sinata/system/service/impl/MwCollectRecordServiceImpl.java b/medicalWaste-system/src/main/java/com/sinata/system/service/impl/MwCollectRecordServiceImpl.java
index d0bc08b..47854ff 100644
--- a/medicalWaste-system/src/main/java/com/sinata/system/service/impl/MwCollectRecordServiceImpl.java
+++ b/medicalWaste-system/src/main/java/com/sinata/system/service/impl/MwCollectRecordServiceImpl.java
@@ -5,12 +5,15 @@
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.sinata.common.entity.PageDTO;
 import com.sinata.common.utils.StringUtils;
+import com.sinata.system.domain.MedicalWasteStaticsVO;
 import com.sinata.system.domain.MwCollectRecord;
 import com.sinata.system.domain.dto.MwCollectRecordDTO;
 import com.sinata.system.domain.query.DisposalReportQuery;
 import com.sinata.system.domain.query.MwCollectRecordQuery;
+import com.sinata.system.domain.vo.DepartmentTagInfoVO;
 import com.sinata.system.domain.vo.MedicalWasteProcessVO;
 import com.sinata.system.domain.vo.MwCollectRecordVO;
+import com.sinata.system.domain.vo.MwCollectRecordWarningVO;
 import com.sinata.system.mapper.MwCollectRecordMapper;
 import com.sinata.system.service.MwCollectRecordService;
 import com.sinata.system.service.SysDepartmentService;
@@ -115,4 +118,56 @@
         String treeCode = sysDepartmentService.getTreeCodeByDepartmentId(query.getDepartmentId());
         return baseMapper.getRegulationReportList(query, treeCode);
     }
+
+    /**
+     * 查询日产废记录
+     *
+     * @return
+     */
+    @Override
+    public List<MwCollectRecordWarningVO> queryListByDay() {
+        return baseMapper.queryListTimeType(1);
+    }
+
+    /**
+     * 查询月产废记录
+     *
+     * @return
+     */
+    @Override
+    public List<MwCollectRecordWarningVO> queryListByMonth() {
+        return baseMapper.queryListTimeType(2);
+    }
+
+    /**
+     * 医疗机构存储量预警
+     *
+     * @return
+     */
+    @Override
+    public List<MwCollectRecordWarningVO> queryListGroupByDepartment() {
+        return baseMapper.queryListGroupByDepartment();
+    }
+
+    /**
+     * 预警数据统计
+     *
+     * @param id
+     * @return
+     */
+    @Override
+    public MedicalWasteStaticsVO queryMedicalWasteStatics(String treeCode) {
+        return baseMapper.queryMedicalWasteStatics(treeCode);
+    }
+
+    /**
+     * 获取大屏医疗机构标签信息
+     *
+     * @param id
+     * @return
+     */
+    @Override
+    public DepartmentTagInfoVO getTagInfo(Long id) {
+        return baseMapper.getTagInfo(id);
+    }
 }

--
Gitblit v1.7.1