From 6fff9ddba2486cbc3ffb6cecf9beac5fcea63cae Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期三, 20 三月 2024 17:25:08 +0800
Subject: [PATCH] 修改党员双报到 列表积分不显示5
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/NeighborApi.java | 189 ++++++++++++++++++++++++++++++++++++++---------
1 files changed, 153 insertions(+), 36 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/NeighborApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/NeighborApi.java
index e179c8a..cb43812 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/NeighborApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/NeighborApi.java
@@ -2,6 +2,8 @@
import javax.annotation.Resource;
+import com.panzhihua.common.model.dtos.ExcelDO;
+import com.panzhihua.common.model.dtos.PartyExcelDO;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
@@ -16,6 +18,8 @@
import lombok.extern.slf4j.Slf4j;
+import java.util.List;
+
@Slf4j
@RestController
@RequestMapping("/neighbor/")
@@ -28,7 +32,7 @@
/**
* 分页查询邻里圈列表
- *
+ *
* @param neighborCircleAppDTO
* 请求参数
* @return 邻里圈列表
@@ -39,8 +43,30 @@
}
/**
+ * 分页查询可关联清单列表
+ * @param neighborCircleAppDTO
+ * @return
+ */
+ @PostMapping("pageRelationList")
+ public R pageRelationList(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO) {
+ return comActNeighborCircleService.pageRelationList(neighborCircleAppDTO);
+ }
+
+ /**
+ * 分页查询邻里圈列表
+ *
+ * @param neighborCircleAppDTO
+ * 请求参数
+ * @return 邻里圈列表
+ */
+ @PostMapping("selectSolve")
+ public R selectSolve(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO) {
+ return comActNeighborCircleService.selectSolve(neighborCircleAppDTO);
+ }
+
+ /**
* 用户发布邻里圈审核
- *
+ *
* @param addNeighborCircleAppDTO
* 邻里圈请求参数
* @return 发布结果
@@ -52,7 +78,7 @@
/**
* 查询邻里圈详情
- *
+ *
* @param neighborCircleAppDTO
* 请求参数
* @return 邻里圈详情
@@ -64,7 +90,7 @@
/**
* 管理后台查询邻里圈列表
- *
+ *
* @param comActNeighborCircleAdminDTO
* 请求参数
* @return 邻里圈列表
@@ -75,8 +101,19 @@
}
/**
+ * 统计大屏查询清单列表
+ *
+ * @param comActNeighborCircleAdminDTO
+ * 请求参数
+ * @return 邻里圈列表
+ */
+ @PostMapping("pageNeighborByBigScreen")
+ public R pageNeighborByBigScreen(@RequestBody ComActNeighborCircleAdminDTO comActNeighborCircleAdminDTO) {
+ return comActNeighborCircleService.pageNeighborByBigScreen(comActNeighborCircleAdminDTO);
+ }
+ /**
* 后台添加邻里圈
- *
+ *
* @param addNeighborCircleAdminVO
* 请求参数
* @return 邻里圈列表
@@ -88,7 +125,7 @@
/**
* 后台修改邻里圈
- *
+ *
* @param editNeighborCircleAdminVO
* 请求参数
*/
@@ -99,7 +136,7 @@
/**
* 邻里圈_后台删除 待审核状态不可删除,显示、隐藏、已驳回的都可以删除)
- *
+ *
* @param id
* 邻里圈id
* @return 邻里圈列表
@@ -112,7 +149,7 @@
/**
* 用户查询邻里圈列表
- *
+ *
* @param neighborCircleAppDTO
* 请求参数
* @return 邻里圈列表
@@ -124,7 +161,7 @@
/**
* 邻里圈点赞
- *
+ *
* @param fabulousAppDTO
* 请求参数
* @return 点赞结果
@@ -136,7 +173,7 @@
/**
* 邻里圈转发
- *
+ *
* @param forwardAppDTO
* 请求参数
* @return 转发结果
@@ -148,7 +185,7 @@
/**
* 邻里圈评论
- *
+ *
* @param commentAppDTO
* 请求参数
* @return 评论结果
@@ -160,7 +197,7 @@
/**
* 邻里圈回复
- *
+ *
* @param replyAppDTO
* 请求参数
* @return 回复结果
@@ -172,7 +209,7 @@
/**
* 定时任务更新邻里圈近3天评论数/点赞数/浏览量
- *
+ *
* @return 执行结果
*/
@PostMapping("timeTaskCircleFlow")
@@ -182,7 +219,7 @@
/**
* 查看邻里圈基础_详情
- *
+ *
* @param id
* 邻里圈id
* @return 邻里圈列表
@@ -194,7 +231,7 @@
/**
* 邻里圈的所有评论_分页
- *
+ *
* @param dto
* 请求参数
* @return 评论列表
@@ -206,7 +243,7 @@
/**
* 评论的状态_修改
- *
+ *
* @param vo
* 请求参数
*/
@@ -218,7 +255,7 @@
/**
* 邻里圈评论_详情
- *
+ *
* @param id
* 评论id
*/
@@ -229,7 +266,7 @@
/**
* 邻里圈评论回复_分页
- *
+ *
* @param dto
* 参数
*/
@@ -240,7 +277,7 @@
/**
* 邻里圈评论回复_基本详情
- *
+ *
* @param id
* 参数
*/
@@ -251,7 +288,7 @@
/**
* 评论的状态_修改
- *
+ *
* @param changeStatusReplyVO
* 参数
*/
@@ -262,7 +299,7 @@
/**
* 邻里圈取消点赞
- *
+ *
* @param fabulousAppDTO
* 请求参数
* @return 取消点赞结果
@@ -274,7 +311,7 @@
/**
* 添加邻里圈浏览记录
- *
+ *
* @param addBrowseAppDTO
* 请求参数
* @return 返回参数
@@ -286,7 +323,7 @@
/**
* 分页查询评论下所有回复
- *
+ *
* @param commentReplyAppDTO
* 请求参数
* @return 回复列表
@@ -298,7 +335,7 @@
/**
* 分页查询邻里圈话题列表
- *
+ *
* @param circleTopicAdminDTO
* 请求参数
* @return 邻里圈话题列表
@@ -310,7 +347,7 @@
/**
* 添加邻里圈话题
- *
+ *
* @param addCircleTopicAdminDTO
* 请求参数
* @return 添加结果
@@ -322,7 +359,7 @@
/**
* 编辑邻里圈话题
- *
+ *
* @param addCircleTopicAdminDTO
* 请求参数
* @return 编辑结果
@@ -334,24 +371,28 @@
/**
* 小程序查询邻里圈话题列表
- *
- * @param communityId
+ *
* 社区id
* @return 邻里圈话题列表
*/
@GetMapping("getNeighborTopicByApp")
- public R getNeighborTopicByApp(@RequestParam("communityId") Long communityId,@RequestParam("isZero") Integer isZero,@RequestParam("name") String name) {
- return comActNeighborCircleTopicService.getNeighborTopicByApp(communityId,isZero,name);
+ public R getNeighborTopicByApp(@RequestParam("name") String name) {
+ return comActNeighborCircleTopicService.getNeighborTopicByApp(name);
+ }
+
+ @GetMapping("/getNeighborTopicByAppNew")
+ public R getNeighborTopicByAppNew(@RequestParam("name") String name){
+ return comActNeighborCircleTopicService.getNeighborTopicByAppNew(name);
}
/**
- * 小程序-用户新增话题
- * @param circleTopicAppDTO 请求参数
- * @return 新增结果
+ * 删除话题
+ * @param id
+ * @return
*/
- @PostMapping("addNeighborTopicByApp")
- public R addNeighborTopicByApp(@RequestBody AddNeighborCircleTopicAppDTO circleTopicAppDTO){
- return comActNeighborCircleTopicService.addNeighborTopicByApp(circleTopicAppDTO);
+ @GetMapping("deleteNeighborTopic")
+ public R deleteNeighborTopic(@RequestParam("id") Long id){
+ return comActNeighborCircleTopicService.delete(id);
}
/**
@@ -364,4 +405,80 @@
return comActNeighborCircleService.deleteNeighborByApp(circleTopicAppDTO);
}
+ /**
+ * 修改数据
+ * @param editNeighborCircleAdminVO
+ * @return
+ */
+ @PostMapping("update")
+ public R order(@RequestBody EditNeighborCircleAdminVO editNeighborCircleAdminVO){
+ return this.comActNeighborCircleService.orderAndSolve(editNeighborCircleAdminVO);
+ }
+
+ /**
+ * 机关单位服务统计排行
+ * @return
+ * */
+ @GetMapping("/activityAnalysis")
+ public R institutionalUnitServiceAnalysis(@RequestParam(value = "year",required = false) Integer year,
+ @RequestParam(value = "type",required = false) Integer type,
+ @RequestParam(value = "range",required = false)Integer range,
+ @RequestParam(value = "communityId",required = false) Long communityId,
+ @RequestParam(value = "page",required = false) Integer page,
+ @RequestParam(value = "belongTo",required = false) String belongTo,
+ @RequestParam(value = "size",required = false) Integer size,
+ @RequestParam(value = "unitId",required = false) Long unitId,
+ @RequestParam(value = "loginAccount",required = false) String loginAccount){
+ return this.comActNeighborCircleService.institutionalUnitServiceAnalysis(year,type,range,communityId,page,size,belongTo,unitId);
+ }
+
+ /**
+ * 导出
+ */
+ @GetMapping("/export")
+ public List<ExcelDO> export(@RequestParam(value = "year",required = false) Integer year,
+ @RequestParam(value = "belongTo",required = false) String belongTo,
+ @RequestParam(value = "communityId",required = false) Long communityId) throws Exception {
+ return this.comActNeighborCircleService.export(year,belongTo,communityId);
+ }
+
+ @GetMapping("/partyExcel")
+ public List<PartyExcelDO> partyExcel(@RequestParam(value = "year",required = false) Integer year,
+ @RequestParam(value = "belongTo",required = false) String belongTo,
+ @RequestParam(value = "communityId",required = false) Long communityId,
+ @RequestParam(value = "unitId",required = false) Long unitId){
+ return this.comActNeighborCircleService.partyExcel(year,belongTo,communityId,unitId);
+ }
+
+ /**
+ * 小程序服务统计
+ * @param serviceStaticDTO
+ * @return
+ */
+ @PostMapping("/serviceStatic")
+ public R serviceStatic(@RequestBody ServiceStaticDTO serviceStaticDTO){
+ return this.comActNeighborCircleService.serviceStatic(serviceStaticDTO);
+ }
+
+ /**
+ * 后台统计
+ * @param serviceStaticDTO
+ * @return
+ */
+ @PostMapping("/serviceStaticBackstage")
+ public R serviceStaticBackstage(@RequestBody ServiceStaticBackstageDTO serviceStaticDTO){
+ return this.comActNeighborCircleService.serviceStaticBackstage(serviceStaticDTO);
+ }
+ /**
+ * 求助我的问题数量统计
+ * @param type
+ * @param phone
+ * @return
+ */
+ @GetMapping("/selectCount")
+ public R selectCount(@RequestParam("type")Integer type,@RequestParam(value = "phone",required = false)String phone,@RequestParam("communityId")Long communityId){
+ return this.comActNeighborCircleService.selectCount(type,phone,communityId);
+ }
+
+
}
--
Gitblit v1.7.1