From 43f0578e80af82ecae6c61b51bd0539c6b960603 Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期二, 16 八月 2022 19:08:32 +0800
Subject: [PATCH] 服务范围优化

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/NeighborApi.java |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 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 f2579fb..8de43b3 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
@@ -41,6 +41,16 @@
     }
 
     /**
+     * 分页查询可关联清单列表
+     * @param neighborCircleAppDTO
+     * @return
+     */
+    @PostMapping("pageRelationList")
+    public R pageRelationList(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO) {
+        return comActNeighborCircleService.pageRelationList(neighborCircleAppDTO);
+    }
+
+    /**
      * 分页查询邻里圈列表
      *
      * @param neighborCircleAppDTO
@@ -396,8 +406,10 @@
                                               @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){
-        return this.comActNeighborCircleService.institutionalUnitServiceAnalysis(year,type,range,communityId,page,size,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);
     }
 
     /**
@@ -419,6 +431,14 @@
     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