From aded6d51dd8cc3b7d2b5a9a0be54378c5b2ee924 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期三, 01 一月 2025 15:11:15 +0800 Subject: [PATCH] merge --- medicalWaste-system/src/main/java/com/sinata/system/mapper/MwCollectRecordMapper.java | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 deletions(-) diff --git a/medicalWaste-system/src/main/java/com/sinata/system/mapper/MwCollectRecordMapper.java b/medicalWaste-system/src/main/java/com/sinata/system/mapper/MwCollectRecordMapper.java index 13c2525..fbab335 100644 --- a/medicalWaste-system/src/main/java/com/sinata/system/mapper/MwCollectRecordMapper.java +++ b/medicalWaste-system/src/main/java/com/sinata/system/mapper/MwCollectRecordMapper.java @@ -1,8 +1,22 @@ package com.sinata.system.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.sinata.system.domain.MwCollectRecord; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.sinata.system.domain.dto.CollectCarTotalUpDto; +import com.sinata.system.domain.dto.CollectDto; +import com.sinata.system.domain.dto.CollectTotalUpDto; +import com.sinata.system.domain.query.DisposalReportQuery; +import com.sinata.system.domain.query.MwCollectRecordQuery; +import com.sinata.system.domain.vo.MedicalWasteProcessVO; +import com.sinata.system.domain.vo.MwCollectRecordVO; +import com.sinata.system.domain.vo.MwCollectRecordWarningVO; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.time.LocalDate; +import java.util.List; /** * <p> @@ -14,5 +28,70 @@ */ @Mapper public interface MwCollectRecordMapper extends BaseMapper<MwCollectRecord> { + /** + * 医废追溯分页列表 + * + * @param query + * @return + */ + Page<MwCollectRecordVO> pageList(Page<MwCollectRecordVO> mwCollectRecordVOPage, @Param("query") MwCollectRecordQuery query, @Param("treeCode") String treeCode); + /** + * 医废追溯详情 + * + * @param id + * @return + */ + MwCollectRecordVO detail(Long id); + + /** + * 流转过程 + * + * @param id + * @return + */ + MedicalWasteProcessVO getProcess(Long id); + + /** + * 导出数据 + * + * @param query + * @return + */ + List<MwCollectRecordVO> getExportList(@Param("query") MwCollectRecordQuery query, @Param("treeCode") String treeCode); + + List<CollectDto> getGroup(@Param("boxNumber")String boxNumber,@Param("departmentId")Long departmentId); + List<CollectDto> getGroup1(@Param("boxNumber")String boxNumber,@Param("departmentId")Long departmentId); + List<CollectDto> getGroupWithStatus(@Param("boxNumber")String boxNumber, @Param("departmentId")Long departmentId, @Param("status")Integer status); + + + List<CollectTotalUpDto> collectTotal(@Param("date")LocalDate date,@Param("departmentId")Long departmentId); + List<CollectTotalUpDto> collectTotal3(@Param("departmentId")Long departmentId); + List<CollectTotalUpDto> collectTotal1(@Param("date")LocalDate date,@Param("checkOutUserId")Long checkOutUserId,@Param("id") Long id); + + List<CollectCarTotalUpDto> carGroup(@Param("carId")Long carId); + + /** + * 监管报表医疗废物产生列表 + * + * @param query + * @param treeCode + * @return + */ + List<MwCollectRecordVO> getRegulationReportList(@Param("query") DisposalReportQuery query, @Param("treeCode") String treeCode); + + /** + * 获取时间类型列表 + * + * @param timeType 时间类型 1:日 2:月 + * @return + */ + List<MwCollectRecordWarningVO> queryListTimeType(Integer timeType); + + /** + * 根据医疗机构分组查询医废存储量 + * + * @return + */ + List<MwCollectRecordWarningVO> queryListGroupByDepartment(); } -- Gitblit v1.7.1