huanghongfa
2021-09-02 177249c76aeea0b4bf8d8816d4994e3b445b45ce
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVolunteerMngService.java
@@ -1,11 +1,11 @@
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.user.UserPhoneVO;
import java.util.List;
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
@@ -16,75 +16,108 @@
public interface ComMngVolunteerMngService {
    /**
     * 增加志愿者
     * @param comMngVolunteerMngVO 志愿者信息
     *
     * @param comMngVolunteerMngVO
     *            志愿者信息
     * @return 增加结果
     */
    R addVolunteer(ComMngVolunteerMngVO comMngVolunteerMngVO);
    /**
     * 删除志愿者
     * @param comMngVolunteerMngVO 手机号
     *
     * @param comMngVolunteerMngVO
     *            手机号
     * @return 删除结果
     */
    R deleteVolunteer(ComMngVolunteerMngVO comMngVolunteerMngVO);
    /**
     * 编辑志愿者
     * @param comMngVolunteerMngVO 编辑内容
     *
     * @param comMngVolunteerMngVO
     *            编辑内容
     * @return 编辑结果
     */
    R putVolunteer(ComMngVolunteerMngVO comMngVolunteerMngVO);
    /**
     * 分页展示志愿者
     * @param comMngVolunteerMngVO 查询参数
     *
     * @param comMngVolunteerMngVO
     *            查询参数
     * @return 分页集合返回
     */
    R pageVolunteer(ComMngVolunteerMngVO comMngVolunteerMngVO);
    /**
     * 分页展示志愿者审核
     * @param comMngVolunteerMngVO 查询参数
     *
     * @param comMngVolunteerMngVO
     *            查询参数
     * @return 查询结果
     */
    R pageVolunteerExamine(ComMngVolunteerMngVO comMngVolunteerMngVO);
    /**
     * 志愿者审核详情
     * @param id 主键
     *
     * @param id
     *            主键
     * @return 详情
     */
    R detailVolunteerExamine(Long id);
    /**
     * 志愿者审核
     * @param comMngVolunteerMngVO 审核操作
     *
     * @param comMngVolunteerMngVO
     *            审核操作
     * @return 审核结果
     */
    R putVolunteerExamine(ComMngVolunteerMngVO comMngVolunteerMngVO);
    /**
     * 删除志愿者审核
     * @param comMngVolunteerMngVO 主键
     *
     * @param comMngVolunteerMngVO
     *            主键
     * @return 删除结果
     */
    R deleteVolunteerExamine(ComMngVolunteerMngVO comMngVolunteerMngVO);
    /**
     * 用户修改手机号对应的志愿者手机号也要修改
     * @param userPhoneVO 新旧手机号
     *
     * @param userPhoneVO
     *            新旧手机号
     * @return 修改结果
     */
    R putVolunteerPhone(UserPhoneVO userPhoneVO);
    /**
     * 志愿者详情
     * @param id 主键
     *
     * @param id
     *            主键
     * @return 志愿者
     */
    R detailVolunteer(Long id);
    /**
     * 社区后台数据看板
     * @param communityId 社区id
     * @param userId 用户id
     *
     * @param communityId
     *            社区id
     * @param userId
     *            用户id
     * @return 人脸采集和志愿者审核集合
     */
    List<TodoEventsVO> selectNeedToDo(Long communityId, Long userId);
    /**
     * 获取志愿者详情
     *
     * @param id
     * @return
     */