package com.panzhihua.service_community.service;
|
|
import java.util.List;
|
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.common.model.vos.community.ComMngVolunteerMngVO;
|
import com.panzhihua.common.model.vos.community.TodoEventsVO;
|
import com.panzhihua.common.model.vos.community.volunteer.ComMngVolunteerExcelVO;
|
import com.panzhihua.common.model.vos.user.UserPhoneVO;
|
|
/**
|
* @program: springcloud_k8s_panzhihuazhihuishequ
|
* @description: 志愿者
|
* @author: huang.hongfa weixin hhf9596 qq 959656820
|
* @create: 2020-12-17 09:23
|
**/
|
public interface ComMngVolunteerMngService {
|
/**
|
* 增加志愿者
|
*
|
* @param comMngVolunteerMngVO
|
* 志愿者信息
|
* @return 增加结果
|
*/
|
R addVolunteer(ComMngVolunteerMngVO comMngVolunteerMngVO);
|
|
/**
|
* 删除志愿者
|
*
|
* @param comMngVolunteerMngVO
|
* 手机号
|
* @return 删除结果
|
*/
|
R deleteVolunteer(ComMngVolunteerMngVO comMngVolunteerMngVO);
|
|
/**
|
* 编辑志愿者
|
*
|
* @param comMngVolunteerMngVO
|
* 编辑内容
|
* @return 编辑结果
|
*/
|
R putVolunteer(ComMngVolunteerMngVO comMngVolunteerMngVO);
|
|
/**
|
* 分页展示志愿者
|
*
|
* @param comMngVolunteerMngVO
|
* 查询参数
|
* @return 分页集合返回
|
*/
|
R pageVolunteer(ComMngVolunteerMngVO comMngVolunteerMngVO);
|
|
/**
|
* 分页展示志愿者审核
|
*
|
* @param comMngVolunteerMngVO
|
* 查询参数
|
* @return 查询结果
|
*/
|
R pageVolunteerExamine(ComMngVolunteerMngVO comMngVolunteerMngVO);
|
|
/**
|
* 志愿者审核详情
|
*
|
* @param id
|
* 主键
|
* @return 详情
|
*/
|
R detailVolunteerExamine(Long id);
|
|
/**
|
* 志愿者审核
|
*
|
* @param comMngVolunteerMngVO
|
* 审核操作
|
* @return 审核结果
|
*/
|
R putVolunteerExamine(ComMngVolunteerMngVO comMngVolunteerMngVO);
|
|
/**
|
* 删除志愿者审核
|
*
|
* @param comMngVolunteerMngVO
|
* 主键
|
* @return 删除结果
|
*/
|
R deleteVolunteerExamine(ComMngVolunteerMngVO comMngVolunteerMngVO);
|
|
/**
|
* 用户修改手机号对应的志愿者手机号也要修改
|
*
|
* @param userPhoneVO
|
* 新旧手机号
|
* @return 修改结果
|
*/
|
R putVolunteerPhone(UserPhoneVO userPhoneVO);
|
|
/**
|
* 志愿者详情
|
*
|
* @param id
|
* 主键
|
* @return 志愿者
|
*/
|
R detailVolunteer(Long id);
|
|
/**
|
* 社区后台数据看板
|
*
|
* @param communityId
|
* 社区id
|
* @param userId
|
* 用户id
|
* @return 人脸采集和志愿者审核集合
|
*/
|
List<TodoEventsVO> selectNeedToDo(Long communityId, Long userId);
|
|
/**
|
* 获取志愿者详情
|
*
|
* @param id
|
* @return
|
*/
|
R getVolunteerById(Long id);
|
|
/**
|
* 志愿者导入
|
*
|
* @param list 志愿者数据列表
|
* @param communityId 社区id
|
* @param userId 用户id
|
* @return 导入结果
|
*/
|
R importVolunteerAdmin(List<ComMngVolunteerExcelVO> list, Long communityId, Long userId);
|
}
|