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;
|
|
/**
|
* @auther lyq
|
* @create 2021-06-25 10:34:16
|
* @describe 随手拍活动表服务类
|
*/
|
public interface ComActEasyPhotoActivityService extends IService<ComActEasyPhotoActivityDO> {
|
|
/**
|
* 查询随手拍是否有活动
|
*
|
* @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();
|
|
}
|