mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package com.panzhihua.service_community.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.panzhihua.common.model.dtos.property.CommonPage;
import com.panzhihua.common.model.vos.community.ComActAnnouncementVO;
import com.panzhihua.common.model.vos.community.ComPropertyVO;
import com.panzhihua.common.model.vos.community.StatisticsCommVO;
import com.panzhihua.common.model.vos.community.bigscreen.BigScreenAlarmStatisticsInfo;
import com.panzhihua.common.model.vos.property.ComPropertyAlarmVO;
import com.panzhihua.common.model.vos.property.ComPropertyEquipmentVO;
import com.panzhihua.service_community.entity.ComProperty;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * (ComProperty)表数据库访问层
 *
 * @author makejava
 * @since 2021-09-18 10:46:51
 */
@Mapper
public interface ComPropertyDao extends BaseMapper<ComProperty> {
    /**
     * 分页查询
     * @param page
     * @param commonPage
     * @return
     */
    IPage<ComPropertyVO> pageList(Page page, @Param("commonPage") CommonPage commonPage);
 
    /**
     * 居民自治大屏统计数据获取
     * @param communityId
     * @return
     */
    List<StatisticsCommVO> getRepairPolylineDate(@Param("communityId") Long communityId);
 
    /**
     * 报事报修date之前的累计数量
     * @param communityId
     * @param date
     * @return
     */
    StatisticsCommVO getRepairTotalPolylineDate(@Param("communityId") Long communityId, @Param("date") String date);
 
    List<StatisticsCommVO> getEventAddPolylineData(@Param("communityId") Long communityId);
 
    StatisticsCommVO getEventTotalPolylineDate(@Param("communityId") Long communityId, @Param("date") String date);
 
    /**
     * 杨家坪定制页面-居家养老基础数据
     * @param communityId
     * @return
     */
    BigScreenAlarmStatisticsInfo getAlarmBaseData(@Param("communityId") Long communityId);
 
    /**
     * 异常报警新增折线数据
     * @param communityId
     * @return
     */
    List<StatisticsCommVO> retrieveAbnormalAddPolylineData(@Param("communityId") Long communityId);
 
    /**
     * 异常报警累计折线数据
     * @param communityId
     * @param date
     * @return
     */
    StatisticsCommVO retrieveAbnormalTotalPolylineData(@Param("communityId") Long communityId, @Param("date") String date);
 
    /**
     * 一键求助服务新增折线数据
     * @param communityId
     * @return
     */
    List<StatisticsCommVO> retrieveServiceAddPolylineData(@Param("communityId") Long communityId);
 
    /**
     * 一键求助服务累计折线数据
     * @param communityId
     * @param date
     * @return
     */
    StatisticsCommVO retrieveServiceTotalPolylineData(@Param("communityId") Long communityId, @Param("date") String date);
 
    /**
     * 获取报警记录
     * @param page
     * @param type
     * @param status
     * @param communityId
     * @return
     */
    IPage<ComPropertyAlarmVO> getAbnormalList(@Param("page") Page page, @Param("type") Integer type,
                                              @Param("status") Integer status, @Param("communityId") Long communityId);
 
    /**
     * 获取报警设备点位图
     * @param communityId
     * @return
     */
    List<ComPropertyEquipmentVO> getAlarmPointMapData(@Param("communityId") Long communityId);
 
    IPage<ComActAnnouncementVO> noticeList(Page page, @Param("propertyId") Long propertyId);
}