From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVolunteerMngService.java | 82 ++++++++++++++++++++++++++++++++++++----- 1 files changed, 72 insertions(+), 10 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVolunteerMngService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVolunteerMngService.java index a60a1e8..e3f563e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVolunteerMngService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComMngVolunteerMngService.java @@ -1,7 +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.community.volunteer.ComMngVolunteerExcelVO; import com.panzhihua.common.model.vos.user.UserPhoneVO; /** @@ -13,62 +17,120 @@ 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 + * @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); } -- Gitblit v1.7.1