From 05e1b74b46f283a8841bc284e626e19750ff41b4 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期五, 25 八月 2023 14:31:38 +0800 Subject: [PATCH] 新增积分商城模块(新增商品 编辑商品 删除商品 商品列表) 修改活动人员统计为0 修改小程序活动报名报错 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 112 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java index 6ec472e..10de990 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java @@ -11312,6 +11312,15 @@ R volunteerDeleteById(@RequestParam("id") String id); + + /** + * 定时刷新活动状态 + * @return + */ + @GetMapping("/Volunteer/timedTaskVolunteerActivitiesJobHandler") + public R timedTaskVolunteerActivitiesJobHandler(); + + /******************************************************************************************************************* * * @@ -11402,4 +11411,107 @@ @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/getList") + public R VolunteerIntegralRecordGetList(@RequestParam("pageNum") int pageNum, + @RequestParam("pageSize") 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); + + /************************************************************************************************************* + * + * + * 路北社区积分商城 + * + * + ****************************************************************************************************************/ + + /** + * 获取单个详情 + * @param id + * @return + */ + @GetMapping("/VolunteerIntegralMerchant/queryById") + public R VolunteerIntegralMerchantQueryById(@RequestParam("id") String id); + + /** + * 分页查询 + * @param + * @return + */ + @GetMapping("/VolunteerIntegralMerchant/queryList") + public R VolunteerIntegralMerchantQueryList(@RequestParam("pageNum") int pageNum, + @RequestParam("pageSize") int pageSize, + @RequestParam(value = "name", required = false) String name, + @RequestParam(value = "state", required = false) String state); + + /** + * 新增 + * @param + * @return + */ + @PostMapping("/VolunteerIntegralMerchant/insertVolunteer") + public R VolunteerIntegralMerchantInsertVolunteer(@RequestBody VolunteerIntegralMerchantVO vimVO); + + @PostMapping("/VolunteerIntegralMerchant/updateById") + public R VolunteerIntegralMerchantUpdateById(@RequestBody VolunteerIntegralMerchantVO vimVO); + + @DeleteMapping("/VolunteerIntegralMerchant/deleteById") + public R VolunteerIntegralMerchantDeleteById(@RequestParam("id") String id); + + + } -- Gitblit v1.7.1