101captain
2021-12-23 5a8a90c095280fbd2106869ecd2bad10e01a57a6
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActEasyPhotoActivityService.java
@@ -1,6 +1,10 @@
package com.panzhihua.service_community.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.EditEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityDTO;
import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityUserDTO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_community.model.dos.ComActEasyPhotoActivityDO;
@@ -13,8 +17,61 @@
    /**
     * 查询随手拍是否有活动
     * @return  活动详情
     *
     * @return 活动详情
     */
    R getEasyPhotoActivity(Long communityId);
    /**
     * 社区后台-分页查询随手拍活动列表
     *
     * @param pageEasyPhotoActivityDTO
     *            请求参数
     * @return 随手拍活动列表
     */
    R pageActivity(PageEasyPhotoActivityDTO pageEasyPhotoActivityDTO);
    /**
     * 社区后台-添加随手拍活动
     *
     * @param addEasyPhotoActivityDTO
     *            请求参数
     * @return 添加结果
     */
    R addActivity(AddEasyPhotoActivityDTO addEasyPhotoActivityDTO);
    /**
     * 社区后台-编辑随手拍活动
     *
     * @param editEasyPhotoActivityDTO
     *            请求参数
     * @return 编辑结果
     */
    R editActivity(EditEasyPhotoActivityDTO editEasyPhotoActivityDTO);
    /**
     * 社区后台-取消随手拍活动
     *
     * @param id
     *            随手拍活动id
     * @return 取消结果
     */
    R cancelActivity(Long id);
    /**
     * 分页查询随手拍活动下居民参与记录
     *
     * @param pageEasyPhotoActivityUserDTO
     *            请求参数
     * @return 居民参与记录
     */
    R pageActivityUser(PageEasyPhotoActivityUserDTO pageEasyPhotoActivityUserDTO);
    /**
     * 随手拍活动定时任务
     *
     * @return 执行结果
     */
    R timeTaskEasyPhotoActivity();
}