From 5d7af89551fcd7b092efdd4002b41257ce55aa55 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期五, 18 八月 2023 10:44:50 +0800
Subject: [PATCH] 新增志愿者活动状态 编辑接口 添加接口 删除接口 列表接口
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 86 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 86 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 9d911d5..a8ccc75 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
@@ -1,5 +1,6 @@
package com.panzhihua.common.service.community;
+import java.util.Date;
import java.util.List;
import com.panzhihua.common.model.dtos.PageBaseDTO;
@@ -11265,6 +11266,91 @@
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);
+
+
+ /*******************************************************************************************************************
+ *
+ *
+ * 志愿者活动类型
+ *
+ *
+ *******************************************************************************************************************/
+
+ /**
+ * 分页查询
+ * @param
+ * @return
+ */
+ @GetMapping("/VolunteerType/volunteerTypeGetList")
+ public R volunteerTypeGetList();
+
+ /**
+ * 新增
+ * @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