From 10df7e29b51d6a2efacc83d870856f57d97a9b66 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期一, 24 十月 2022 13:48:24 +0800 Subject: [PATCH] #feat 修改别名 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPropertyDao.java | 81 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 80 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPropertyDao.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPropertyDao.java index 1fe435e..6ad4120 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPropertyDao.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComPropertyDao.java @@ -4,11 +4,16 @@ 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.ComActSocialOrgVO; 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 org.apache.ibatis.annotations.Mapper; import com.panzhihua.service_community.entity.ComProperty; import org.apache.ibatis.annotations.Param; + +import java.util.List; /** * (ComProperty)表数据库访问层 @@ -25,4 +30,78 @@ * @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); } -- Gitblit v1.7.1