| | |
| | | package com.panzhihua.common.service.community; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.dtos.PageBaseDTO; |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/MostBeautifu/upMostBeautiful") |
| | | public R updateById(MostBeautifulVolunteerVO mostBeautifulVolunteerVO); |
| | | public R updateById(@RequestBody MostBeautifulVolunteerVO mostBeautifulVolunteerVO); |
| | | |
| | | |
| | | /** |
| | |
| | | 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); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 定时刷新活动状态 |
| | | * @return |
| | | */ |
| | | @GetMapping("/Volunteer/timedTaskVolunteerActivitiesJobHandler") |
| | | public R timedTaskVolunteerActivitiesJobHandler(); |
| | | |
| | | |
| | | /******************************************************************************************************************* |
| | | * |
| | | * |
| | | * 志愿者活动类型 |
| | | * |
| | | * |
| | | *******************************************************************************************************************/ |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerType/volunteerTypeGetList") |
| | | public R volunteerTypeGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize); |
| | | |
| | | /** |
| | | * 新增 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerType/insertvolunteerType") |
| | | public R insertvolunteerType(@RequestBody VolunteerTypeVO volunteerTypeVO); |
| | | |
| | | /** |
| | | * 更新 |
| | | * @param volunteerTypeVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerType/volunteerTypeUpdate") |
| | | public R volunteerTypeUpdate(@RequestBody VolunteerTypeVO volunteerTypeVO); |
| | | |
| | | /** |
| | | * 删除 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/VolunteerType/volunteerTypeDelete") |
| | | public R volunteerTypeDelete(@RequestParam("id") String id); |
| | | |
| | | /***************************************************************************************************************** |
| | | * |
| | | * |
| | | * 志愿者参加活动 |
| | | * |
| | | * |
| | | ****************************************************************************************************************/ |
| | | /** |
| | | * 志愿者单个详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerActivitiesPeople/vapGetById") |
| | | public R vapGetById(@RequestParam("id") String id); |
| | | |
| | | /** |
| | | * 参与人员列表 |
| | | * @param activityId |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerActivitiesPeople/vapGetList") |
| | | public R vapGetList(@RequestParam("activityId") String activityId, |
| | | @RequestParam("communityId") String communityId); |
| | | |
| | | /** |
| | | * 添加参与人员 |
| | | * @param volunteerActivitiesPeopleVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerActivitiesPeople/vapInsert") |
| | | public R vapInsert(@RequestBody VolunteerActivitiesPeopleVO volunteerActivitiesPeopleVO); |
| | | |
| | | /** |
| | | * 修改参与人员 |
| | | * @param volunteerActivitiesPeopleVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerActivitiesPeople/vapUpdate") |
| | | public R vapUpdate(@RequestBody VolunteerActivitiesPeopleVO volunteerActivitiesPeopleVO); |
| | | |
| | | /** |
| | | * 删除参与人员 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/VolunteerActivitiesPeople/vapDelete") |
| | | public R vapDelete(@RequestParam("id") String id); |
| | | |
| | | |
| | | /** |
| | | * 志愿者活动 奖励发放 |
| | | * @param grantIntegral |
| | | * @return |
| | | */ |
| | | @PostMapping("/grantIntegral") |
| | | public R grantIntegral(@RequestBody GrantIntegral grantIntegral); |
| | | |
| | | /************************************************************************************************************** |
| | | * |
| | | * |
| | | * 积分明细记录 |
| | | * |
| | | *****************************************************************************************************************/ |
| | | /** |
| | | * 获取单个详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerIntegralRecord/getId") |
| | | public R VolunteerIntegralRecordGetId(@RequestParam("id") String id); |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerIntegralRecord/getId") |
| | | public R VolunteerIntegralRecordGetList(int pageNum, int pageSize, |
| | | @RequestParam("userId") String userId); |
| | | |
| | | /** |
| | | * 新增 |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerIntegralRecord/insertVolunteer") |
| | | public R VolunteerIntegralRecordInsertVolunteer(@RequestBody() VolunteerIntegralRecordVO volunteerIntegralRecordVO); |
| | | |
| | | /** |
| | | * 便捷 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/VolunteerIntegralRecord/updateId") |
| | | public R VolunteerIntegralRecordUpdateId(@RequestBody() VolunteerIntegralRecordVO volunteerIntegralRecordVO); |
| | | |
| | | /** |
| | | * 删除 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/VolunteerIntegralRecord/deleteId") |
| | | public R VolunteerIntegralRecordDeleteId(@RequestParam("id") String id); |
| | | |
| | | |
| | | } |