From cdbcb4198cb4b242c517a1b07b10b5f212a55fd0 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期五, 23 七月 2021 10:22:00 +0800 Subject: [PATCH] 修改bug --- springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/dao/EventMapper.java | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/dao/EventMapper.java b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/dao/EventMapper.java index 4816b9a..6201eff 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/dao/EventMapper.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/dao/EventMapper.java @@ -6,8 +6,11 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.panzhihua.common.model.dtos.community.bigscreen.event.ScreenEventListDTO; import com.panzhihua.common.model.dtos.grid.*; +import com.panzhihua.common.model.vos.community.screen.civil.CivilVillageStatisticsVO; +import com.panzhihua.common.model.vos.community.screen.event.EventGridIncidentStatisticsVO; import com.panzhihua.common.model.vos.community.screen.event.EventListVO; import com.panzhihua.common.model.vos.grid.*; +import com.panzhihua.common.model.vos.screen.*; import com.panzhihua.service_grid.model.dos.EventDO; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @@ -53,7 +56,7 @@ * @param gridMemberId 网格员id * @return 头像url */ - String getGridMemberImageUrl(@Param("gridMemberId") Long gridMemberId); + Map<String,String> getGridMemberImageUrl(@Param("gridMemberId") Long gridMemberId); /** * 查询事件(管理)列表 @@ -115,4 +118,23 @@ */ IPage<EventSpecialPopulationVO> specialPopulationList(Page page, @Param("specialPopulationDTO") PageEventSpecialPopulationDTO specialPopulationDTO); + Map<String,Long> countByCommunityId(@Param("communityId") Long communityId,@Param("nowDate")String nowDate); + + DateScreenVO countByAvgCommunityId(@Param("communityId") Long communityId); + + List<EventDetailWorkVO> getWorkScreenEventList(@Param("communityId") Long communityId); + + EventWorkVO countByTime(@Param("start")String start, @Param("end")String end, @Param("communityId")Long communityId); + + EventTypeWorkVO getComplete(@Param("communityId") Long communityId); + + EventTypeWorkVO getNoComplete(@Param("communityId") Long communityId); + + Map<String,Long> getSSPEventTotal(@Param("communityId") Long communityId); + + List<EventGridIncidentStatisticsVO> getEventListByCommunityId(@Param("communityId") Long communityId); + + List<CivilVillageStatisticsVO> getCivilScreenVillageList(@Param("communityId") Long communityId); + + ScreenDrawEventPopulationTotalVO getVillagePopulationTotal(@Param("villageId") Long villageId); } -- Gitblit v1.7.1