| | |
| | | package com.panzhihua.common.service.community; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.dtos.PageBaseDTO; |
| | |
| | | public R deleteById(@RequestParam("id") String Id); |
| | | |
| | | |
| | | /******************************************************************************************************************** |
| | | * |
| | | * |
| | | * 志愿者活动 |
| | | * |
| | | * |
| | | *******************************************************************************************************************/ |
| | | /** |
| | | * 获取单个详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("Volunteer/queryById") |
| | | R volunteerQueryById(@RequestParam("id") String id); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("Volunteer/queryList") |
| | | R volunteerQueryList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "name", required = false) String name, |
| | | @RequestParam(value = "acState", required = false) String acState, |
| | | @RequestParam(value = "acType", required = false) String acType, |
| | | @RequestParam(value = "actityBeginTime", required = false) Date actityBeginTime, |
| | | @RequestParam(value = "actityEndTime", required = false) Date actityEndTime); |
| | | |
| | | /** |
| | | * 新增 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("Volunteer/insertVolunteer") |
| | | R insertVolunteer(@RequestBody VolunteerActivityVO volunteerActivityVO); |
| | | |
| | | |
| | | @PostMapping("Volunteer/updateById") |
| | | R volunteerUpdateById(@RequestBody VolunteerActivityVO volunteerActivityVO); |
| | | |
| | | |
| | | @DeleteMapping("Volunteer/deleteById") |
| | | R volunteerDeleteById(@RequestParam("id") String id); |
| | | |
| | | |
| | | } |