From e1faffeb7e30b144de870b496c5c2d71cf721cc0 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 28 二月 2022 16:27:54 +0800
Subject: [PATCH] 三社功能,抽奖功能修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java |   29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java
index 32c89fd..967a351 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActActivityDAO.java
@@ -4,8 +4,7 @@
 import java.util.List;
 import java.util.Map;
 
-import com.panzhihua.common.model.vos.community.ComActActivityStatisticsVO;
-import com.panzhihua.common.model.vos.community.ComActActivityTypeVO;
+import com.panzhihua.common.model.vos.community.*;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 import org.apache.ibatis.annotations.Select;
@@ -15,8 +14,6 @@
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenActActivityListDTO;
-import com.panzhihua.common.model.vos.community.ComActActivityVO;
-import com.panzhihua.common.model.vos.community.CommunityActivitiesVO;
 import com.panzhihua.common.model.vos.community.screen.work.ActActivityListVO;
 import com.panzhihua.common.model.vos.screen.CarouselInfoVO;
 import com.panzhihua.service_community.model.dos.ComActActivityDO;
@@ -245,4 +242,28 @@
      * @return
      */
     IPage<ActActivityListVO> selectActivityBySocialWorker(Page page,@Param("id")Long id);
+
+    /**
+     * 查询党员活动数量
+     * @param communityId
+     * @return
+     */
+    PartyActivityStatics selectActivityStatics(Long communityId);
+
+    /**
+     * 党员活动饼状图
+     * @param communityId
+     * @return
+     */
+    List<PartyActivityTypeChart> selectActivityChart(Long communityId);
+
+    /**
+     * 党员活动柱状图
+     * @param communityId
+     * @param year
+     * @param date
+     * @return
+     */
+    Integer selectActivityLine(@Param("communityId") Long communityId,@Param("year")String year,@Param("date")String date);
+
 }

--
Gitblit v1.7.1