101captain
2021-11-09 e7f03acfa5ee4ad4fd6d1ee9e9ae9a5655488f6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
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;
 
/**
 * @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);
}