package com.panzhihua.service_community.service;
|
|
import com.panzhihua.common.model.dtos.common.*;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.common.model.vos.common.ComActEasyPhotoHandlerVo;
|
|
import java.util.List;
|
|
/**
|
* title: 随手拍、微心愿处理人绑定表表服务接口
|
* <p>
|
* projectName 成都呐喊信息技术有限公司-智慧社区项目
|
* <p>
|
* description: 随手拍、微心愿处理人绑定表表服务接口
|
*
|
* @author lyq
|
* @date 2022-03-01 13:45:11
|
*/
|
public interface ComActEasyPhotoHandlerService {
|
|
/**
|
* description queryByPage 分页查询
|
*
|
* @param comActEasyPhotoHandler 请求参数
|
* @return 分页查询列表数据
|
* @author lyq
|
* @date 2022-03-01 13:45:11
|
*/
|
R queryByPage(PageComActEasyPhotoHandlerDto comActEasyPhotoHandler);
|
|
/**
|
* description insert 新增数据
|
*
|
* @param comActEasyPhotoHandler 请求参数
|
* @return 新增结果
|
* @author lyq
|
* @date 2022-03-01 13:45:11
|
*/
|
R insert(AddComActEasyPhotoHandlerDto comActEasyPhotoHandler);
|
|
/**
|
* description update 修改数据
|
*
|
* @param comActEasyPhotoHandler 请求参数
|
* @return 修改结果
|
* @author lyq
|
* @date 2022-03-01 13:45:11
|
*/
|
R update(EditComActEasyPhotoHandlerDto comActEasyPhotoHandler);
|
|
/**
|
* description deleteById 通过主键删除数据
|
*
|
* @param id 主键id
|
* @return 删除结果
|
* @author lyq
|
* @date 2022-03-01 13:45:11
|
*/
|
R deleteById(Long id);
|
|
/**
|
* description detailById 查询详情
|
*
|
* @param id 主键id
|
* @return 详情数据
|
* @author lyq
|
* @date 2022-03-01 13:45:11
|
*/
|
R detailById(Long id);
|
|
/**
|
* description queryByPage 查询列表
|
*
|
* @param comActEasyPhotoHandler 请求参数
|
* @return 列表数据
|
* @author lyq
|
* @date 2022-03-01 13:45:11
|
*/
|
R queryByList(PageComActEasyPhotoHandlerDto comActEasyPhotoHandler);
|
|
/**
|
* 添加随手拍、微心愿处理关联记录
|
* @param communityId 社区id
|
* @param userId 用户id
|
* @param serviceId 业务id
|
* @param type 人员类型(1.后台用户 2.党员 3.志愿者 4.社工 5.四长四员)
|
* @param serviceType 业务类型(1.随手拍 2.微心愿)
|
* @param sponsorId 发起人id
|
*/
|
void addHandleRecord(Long communityId,Long userId,Long serviceId,Integer type,Integer serviceType,Long sponsorId);
|
|
/**
|
* 获取处理记录
|
* @param serviceId
|
* @param serviceType
|
* @return
|
*/
|
List<ComActEasyPhotoHandlerVo> selectHandleRecord(Long serviceId, Integer serviceType);
|
}
|