From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 09 六月 2025 11:54:00 +0800
Subject: [PATCH] 6.9新增登录失败冻结逻辑

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/NeighborApi.java |  119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 119 insertions(+), 0 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 b03c88c..2245348 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.*;
 
@@ -15,6 +17,8 @@
 import com.panzhihua.service_community.service.ComActNeighborCircleTopicService;
 
 import lombok.extern.slf4j.Slf4j;
+
+import java.util.List;
 
 @Slf4j
 @RestController
@@ -36,6 +40,28 @@
     @PostMapping("pageNeighborByApp")
     public R pageNeighbor(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO) {
         return comActNeighborCircleService.pageNeighborByApp(neighborCircleAppDTO);
+    }
+
+    /**
+     * 分页查询可关联清单列表
+     * @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);
     }
 
     /**
@@ -74,6 +100,17 @@
         return comActNeighborCircleService.pageNeighborByAdmin(comActNeighborCircleAdminDTO);
     }
 
+    /**
+     * 统计大屏查询清单列表
+     *
+     * @param comActNeighborCircleAdminDTO
+     *            请求参数
+     * @return 邻里圈列表
+     */
+    @PostMapping("pageNeighborByBigScreen")
+    public R pageNeighborByBigScreen(@RequestBody ComActNeighborCircleAdminDTO comActNeighborCircleAdminDTO) {
+        return comActNeighborCircleService.pageNeighborByBigScreen(comActNeighborCircleAdminDTO);
+    }
     /**
      * 后台添加邻里圈
      *
@@ -343,6 +380,11 @@
         return comActNeighborCircleTopicService.getNeighborTopicByApp(name);
     }
 
+    @GetMapping("/getNeighborTopicByAppNew")
+    public R getNeighborTopicByAppNew(@RequestParam("name") String name){
+        return comActNeighborCircleTopicService.getNeighborTopicByAppNew(name);
+    }
+
     /**
      * 删除话题
      * @param id
@@ -363,4 +405,81 @@
         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,
+                                              @RequestParam(value = "searchContent",required = false) String searchContent){
+        return this.comActNeighborCircleService.institutionalUnitServiceAnalysis(year,type,range,communityId,page,size,belongTo,unitId,searchContent);
+    }
+
+    /**
+     * 导出
+     */
+    @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