医院废弃物信息化管理平台
“mitao”
2026-01-14 ce8e86e7045a6eadc2f06d3cd1af90d22b04fdd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package cn.besteam.modules.medical.mapper;
 
import cn.besteam.modules.medical.entity.MwDataStatistics;
import cn.besteam.modules.system.entity.SysDepartment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;
 
import java.util.List;
import java.util.Map;
 
/**
 * @Description: 大屏数据
 * @author: besteam
 * @date: 2020-04-25
 * @version: V1.0
 */
public interface MwDataStatisticsMapper extends BaseMapper<MwDataStatistics> {
    /**
     * 获取所有的县级数据
     * @return
     */
    List<SysDepartment> getAreaDepartment();
 
    /**
     * 根据县级获取医院数和预警数据统计数据
     * @param parentId
     * @return
     */
    List<Map<String,Object>> getWarningRecordCount(@Param("parentId")Integer parentId);
 
    /**
     * 根据县级获取收集统计数据
     * @param parentId
     * @return
     */
    List<Map<String,Object>> getCollectRecordSum(@Param("parentId")Integer parentId);
 
    /**
     * 七日数据集合
     * @param parentId
     * @param state
     * @return
     */
    List<Map<String,Object>> getCollectRecordDays7(@Param("parentId")Integer parentId,@Param("state") String state);
 
    /**
     * 根据id获取大屏数据
     * @param parentIds
     * @return
     */
    List<MwDataStatistics> getDataStatisticsByParentIds(@Param("parentIds")String parentIds,@Param("type")Integer type);
 
    /**
     * 根据登录的省市区id获取下级的区县id
     * @param departmentId
     * @return
     */
    List<Integer> getDepartmentIds(@Param("departmentId")Integer departmentId);
    List<Integer> getDepartmentIdsAll(@Param("departmentId")Integer departmentId);
 
    /**
     * 获取今日收集排行
     * @param parentIds
     * @return
     */
    List<Map<String,Object>> getTodayWeightAnalyse(@Param("parentIds")String parentIds,@Param("type")Integer type,@Param("sortType")Integer sortType);
 
 
 
 
 
}