CeDo
2021-06-05 9cfd18f1e6ebfeb94030e3a907cd5e79e51a0780
springcloud_k8s_panzhihuazhihuishequ/service_grid/src/main/java/com/panzhihua/service_grid/service/EventService.java
@@ -4,6 +4,7 @@
import com.baomidou.mybatisplus.extension.service.IService;
import com.panzhihua.common.model.dtos.grid.*;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.community.ComActVO;
import com.panzhihua.common.model.vos.grid.EventDetailsVO;
import com.panzhihua.common.model.vos.grid.EventVO;
import com.panzhihua.service_grid.model.dos.EventDO;
@@ -17,20 +18,6 @@
 * @date 2021-05-26
 * */
public interface EventService extends IService<EventDO> {
    /**
     * 新增事件
     * @param eventAddDTO
     * @return 新增结果
     */
    R add(EventAddDTO eventAddDTO);
    /**
     * 修改事件
     * @param eventEditDTO
     * @return 维护结果
     */
    R edit(EventEditDTO eventEditDTO);
    /**
     * 分页查找事件
@@ -75,7 +62,7 @@
    R report(CommonEventReportDTO commonEventReportDTO);
    /**
     * 突发事件撤销
     * 事件撤销
     * @param eventRevokeDTO
     * @return
     */
@@ -96,10 +83,10 @@
    /**
     * 重新发布事件
     * @param commonEventRepublicDTO
     * @param commonEventRepublishDTO
     * @return
     */
    R republishEvent(CommonEventRepublicDTO commonEventRepublicDTO);
    R republishEvent(CommonEventRepublishDTO commonEventRepublishDTO);
    /**
     * 草稿发布
@@ -150,4 +137,58 @@
     * @return
     */
    R selectPublicity(PagePublicityEventDTO pagePublicityEventDTO);
    /**
     * 获取社区列表:当前默认所有社区
     * @return
     */
    R<ComActVO> actList();
    /**
     * 查询事件管理
     * @param pageEventManageDTO
     * @return
     */
    R eventToManage(PageEventManageDTO pageEventManageDTO);
    /**
     * 社区网格后台标记事件无效
     * @param eventRevokeDTO
     * @return
     */
    R markEventInvalid(EventRevokeDTO eventRevokeDTO);
    /**
     * 社区在网格后台重新发布已标记失效的事件
     * @param commonEventRepublishDTO
     * @return
     */
    R republishInvalidEvent(CommonEventRepublishDTO commonEventRepublishDTO);
    /**
     * 社区后台处理事件
     * @param commonEventDealDTO
     * @return
     */
    R communityDealEvent(CommonEventDealDTO commonEventDealDTO);
    /**
     * 分页查询社区宣传教育事件
     * @param pagePublicityEventDTO
     * @return
     */
    R selectCommunityPublicity(PagePublicityEventCommunityDTO pagePublicityEventDTO);
    /**
     * 后台管理-统计模块
     * @param communityId   社区id
     * @return  统计信息
     */
    R eventStatistics(Long communityId);
    /**
     * 后台管理-网格员统计
     * @param statisticsAdminDTO    请求参数
     * @return  网格员统计信息
     */
    R gridMemberStatistics(MemberStatisticsAdminDTO statisticsAdminDTO);
}