From 3a56b99ac33f849bab5c336ee11abfd3a3effd83 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期五, 18 八月 2023 13:48:17 +0800 Subject: [PATCH] 志愿者分类增加分页查询 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 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 35dfe68..28596c1 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,4 +11312,48 @@ R volunteerDeleteById(@RequestParam("id") String id); + /******************************************************************************************************************* + * + * + * 志愿者活动类型 + * + * + *******************************************************************************************************************/ + + /** + * 分页查询 + * @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); + + + + } -- Gitblit v1.7.1