| | |
| | | R volunteerDeleteById(@RequestParam("id") String id); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 定时刷新活动状态 |
| | | * @return |
| | | */ |
| | | @GetMapping("/Volunteer/timedTaskVolunteerActivitiesJobHandler") |
| | | public R timedTaskVolunteerActivitiesJobHandler(); |
| | | |
| | | |
| | | /******************************************************************************************************************* |
| | | * |
| | | * |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping("/VolunteerType/volunteerTypeGetList") |
| | | public R volunteerTypeGetList(); |
| | | public R volunteerTypeGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize); |
| | | |
| | | /** |
| | | * 新增 |
| | |
| | | @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); |
| | | |
| | | |
| | | } |