From 669202fbfe50e4e2bc94bf339bc37b632083b981 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 24 一月 2022 10:19:38 +0800
Subject: [PATCH] 分类接口修改

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |  555 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 538 insertions(+), 17 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 ee3264b..cc0ebc2 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,7 +1,36 @@
 package com.panzhihua.common.service.community;
 
+import java.io.Serializable;
+import java.util.Date;
 import java.util.List;
 
+import com.panzhihua.common.model.dtos.PageBaseDTO;
+import com.panzhihua.common.model.dtos.civil.*;
+import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO;
+import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO;
+import com.panzhihua.common.model.dtos.community.*;
+import com.panzhihua.common.model.dtos.community.building.admin.*;
+import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto;
+import com.panzhihua.common.model.dtos.community.cluster.admin.*;
+import com.panzhihua.common.model.dtos.property.CommonPage;
+import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO;
+import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO;
+import com.panzhihua.common.model.dtos.community.elder.ElderAuthStatisticHeaderDTO;
+import com.panzhihua.common.model.dtos.community.elder.PageElderAuthStatisticDTO;
+import com.panzhihua.common.model.dtos.community.elder.PagePensionAuthStatisticDTO;
+import com.panzhihua.common.model.dtos.community.elder.SignElderAuthStatisticDTO;
+import com.panzhihua.common.model.dtos.neighbor.*;
+import com.panzhihua.common.model.vos.*;
+import com.panzhihua.common.model.vos.civil.ComActSocialWorkerDetailsVO;
+import com.panzhihua.common.model.vos.community.*;
+import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO;
+import com.panzhihua.common.model.vos.community.social.ComActSocialProjectMemberVO;
+import com.panzhihua.common.model.vos.community.social.ComActSocialProjectPublicityVO;
+import com.panzhihua.common.model.vos.community.social.ComActSocialProjectScheduleVO;
+import com.panzhihua.common.model.vos.community.social.SocialProjectVO;
+import io.swagger.annotations.ApiOperation;
+import com.panzhihua.common.model.vos.community.*;
+import org.springframework.beans.BeanUtils;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.scheduling.annotation.Async;
 import org.springframework.web.bind.annotation.DeleteMapping;
@@ -236,11 +265,6 @@
 import com.panzhihua.common.model.dtos.vaccines.VaccinesEnrollByAppDTO;
 import com.panzhihua.common.model.dtos.vaccines.VaccinesEnrollUserByAppDTO;
 import com.panzhihua.common.model.dtos.vaccines.VaccinesInoculationByAdminDTO;
-import com.panzhihua.common.model.vos.BcDictionaryItemVO;
-import com.panzhihua.common.model.vos.BcDictionaryVO;
-import com.panzhihua.common.model.vos.DictionaryVO;
-import com.panzhihua.common.model.vos.R;
-import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
 import com.panzhihua.common.model.vos.community.ActivitySignVO;
 import com.panzhihua.common.model.vos.community.BatchhouseVO;
 import com.panzhihua.common.model.vos.community.ComActActEvaluateVO;
@@ -1072,7 +1096,7 @@
      * @return 活动列表
      */
     @PostMapping("listactivity")
-    R listActivity(@RequestParam("userId") Long userId);
+    R listActivity(@RequestParam("userId") Long userId, @RequestParam(value = "status", required = false) Integer status);
 
     /**
      * 用户确认心愿
@@ -2198,7 +2222,7 @@
      * @return 新增结果
      */
     @PostMapping("/addstreet")
-    R addStreet(@RequestBody ComStreetVO comStreetVOO);
+    R<ComStreetVO> addStreet(@RequestBody ComStreetVO comStreetVOO);
 
     /**
      * 删除街道
@@ -5302,11 +5326,11 @@
     R addIntegralTradeAdmin(@RequestBody AddComActIntegralUserDTO integralUserDTO);
 
     /**
-     * 根据社区活动id查询社区活动报名人员列表
+     * 根据社区活动id查询社区活动报名且未参与人员列表
      *
      * @param activityId
      *            活动id
-     * @return 社区活动报名人员列表
+     * @return 社区活动报名且未参与人员列表
      */
     @PostMapping("/integral/act/activity/admin")
     R getTaskActivityPeopleList(@RequestParam("activityId") Long activityId);
@@ -7206,6 +7230,14 @@
     R pageRegisterHomeQuarantine(PageReserveRegisterDetailedAdminDTO detailedAdminDTO);
 
     /**
+     * 居家隔离导出
+     * @param pageReserveRegisterDetailedAdminDTO
+     * @return
+     */
+    @PostMapping("/reserve/admin/homeQuarantine/export")
+    R exportHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO);
+
+    /**
      * 分页查询物业宣传
      * @param pageComPropertyPublicityDTO
      * @return
@@ -7270,14 +7302,6 @@
      */
     @GetMapping("/property/publicity/incr-view")
     R incrPropertyPublicityView(@RequestParam("id") Long id);
-
-    /**
-     * 居家隔离导出
-     * @param pageReserveRegisterDetailedAdminDTO
-     * @return
-     */
-    @PostMapping("/reserve/admin/homeQuarantine/export")
-    R exportHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO);
 
     /**
      * 获取预设图片
@@ -7490,4 +7514,501 @@
     @GetMapping("/rentingHourseRegister/updateAllHouseUnionAppCode")
     @Async
     void updateAllHouseUnionAppCode();
+
+    /**
+     * 西区大屏治理数据
+     */
+    @GetMapping("/screen/getWestScreenStatics")
+    R westScreenStatics();
+
+    /**
+     * 西区大屏一标三实数据
+     * @return  西区大屏一标三实数据
+     */
+    @GetMapping("/screen/getComprehensivePopulationStatics")
+    R getComprehensivePopulationStatics(@RequestParam("streetId") Long streetId);
+
+    @GetMapping("/screen/getComprehensiveStreetList")
+    R getComprehensiveStreetList();
+
+    /**
+     * 通过社区id查询社区账号密码
+     * @param communityId   社区id
+     * @return  查询社区账号密码
+     */
+    @GetMapping("/screen/getCommunityPassword")
+    R getCommunityPassword(@RequestParam("communityId") Long communityId);
+
+    @GetMapping("/reserve/bigScreenStaticsReserve")
+    R bigScreenStaticsReserve(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 党员活动折线图
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/bigscreen/party/partyActivityLine")
+    R partyActivityLine(@RequestParam("communityId")Long communityId);
+
+    /**
+     * 党员积分前3
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/bigscreen/party/partyActivityTop")
+    R partyActivityTop(@RequestParam("communityId")Long communityId);
+
+    /**
+     * 社区服务大屏数据分析接口
+     */
+    @GetMapping("/screen/serviceData")
+    R serviceData(@RequestParam("communityId")Long communityId);
+
+    /**
+     * 服务居民接口
+     */
+    @GetMapping("/screen/serviceUser")
+    R serviceUser(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 大数据分析平台-居民自治
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/resident/autonomy")
+    R getResidentAutonomy(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 大数据分析平台-清网治格
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/grids/governance")
+    R getGridsGovernance(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 大数据分析平台-社区服务
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/community/service")
+    R getCommunityServiceStatistics(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 分页获取热度排行商家
+     * @param pagePopularMerchantDTO
+     * @return
+     */
+    @PostMapping("/screen/merchant/popular")
+    R getScreenPopularMerchants(@RequestBody PagePopularMerchantDTO pagePopularMerchantDTO);
+
+    /**
+     * 新版大屏首页接口
+     */
+    @GetMapping("/screen/indexInfo")
+    R indexInfo(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-微心愿
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/index/microWish")
+    R indexMicroWish(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-随手拍
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/index/easyPhoto")
+    R indexEasyPhoto(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-随手拍展示列表
+     * @return
+     */
+    @PostMapping("/screen/index/easyPhotoList")
+    R indexEasyPhotoList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 首页二级页面-社区问卷
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/index/questionnaire")
+    R indexQuestionnaire(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-社区动态
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/index/dyn")
+    R indexDyn(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-社区动态展示列表
+     * @param pageBaseDTO
+     * @return
+     */
+    @PostMapping("/screen/index/dynList")
+    R indexDynList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 首页二级页面-邻里圈
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/index/neighbor")
+    R indexNeighbor(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-邻里圈展示列表
+     * @param pageBaseDTO
+     * @return
+     */
+    @PostMapping("/screen/index/neighborList")
+    R indexNeighborList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 首页二级页面-便民商家
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/index/merchant")
+    R indexMerchant(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-商家展示列表
+     * @param pageBaseDTO
+     * @return
+     */
+    @PostMapping("/screen/index/merchantList")
+    R indexMerchantList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 首页二级页面-微心愿展示列表
+     * @param pageBaseDTO
+     * @return
+     */
+    @PostMapping("/screen/index/microWishList")
+    R indexMicroWishList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 首页二级页面-社区问卷展示列表
+     * @param pageBaseDTO
+     * @return
+     */
+    @PostMapping("/screen/index/questionnaireList")
+    R indexQuestionnaireList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 通过主键查询单条数据
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/comActSocialOrg/{id}")
+    R comActSocialOrgSelectOne(@PathVariable("id") Long id);
+
+    /**
+     * 分页查询所有数据
+     *
+     * @param commonPage 查询实体
+     * @return 所有数据
+     */
+    @PostMapping("/comActSocialMember/queryAll")
+    public R comActSocialMemberSelectAll(@RequestBody CommonPage commonPage);
+
+    /**
+     * 通过主键查询单条数据
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/comActSocialMember/{id}")
+    public R comActSocialMemberSelectOne(@PathVariable("id") Long id);
+
+    /**
+     * 新增数据
+     *
+     * @param comActSocialMember 实体对象
+     * @return 新增结果
+     */
+    @PostMapping("/comActSocialMember")
+    public R comActSocialMemberInsert(@RequestBody ComActSocialMemberVO comActSocialMember);
+
+    /**
+     * 修改数据
+     *
+     * @param comActSocialMember 实体对象
+     * @return 修改结果
+     */
+    @PostMapping("/comActSocialMember/update")
+    public R comActSocialMemberUpdate(@RequestBody ComActSocialMemberVO comActSocialMember);
+
+    /**
+     * 删除数据
+     *
+     * @param id 主键结合
+     * @return 删除结果
+     */
+    @GetMapping("/comActSocialMember/del")
+    public R comActSocialMemberDelete(@RequestParam("id") Long id);
+
+    /**
+     * 新增社工
+     * @param comActSocialWorkerAddDTO
+     * @return 新增结果
+     */
+    @PostMapping("/comactsocialworker/add")
+    R addComactsocialworker(@RequestBody ComActSocialWorkerAddDTO comActSocialWorkerAddDTO);
+
+    /**
+     * 修改社工
+     * @param comActSocialWorkerEditDTO
+     * @return 维护结果
+     */
+    @PostMapping("/comactsocialworker/edit")
+    R editComactsocialworker(@RequestBody ComActSocialWorkerEditDTO comActSocialWorkerEditDTO);
+
+    /**
+     * 分页查找社工
+     * @param pageComActSocialWorkerDTO
+     * @return 维护结果
+     */
+    @PostMapping("/comactsocialworker/page")
+    R queryComactsocialworker(@RequestBody PageComActSocialWorkerDTO pageComActSocialWorkerDTO);//返回 R<IPage<ComActSocialWorkerVO>>
+
+    /**
+     * 删除社工
+     * @param comActSocialWorkerDeleteDTO
+     * @return 平台用户信息
+     */
+    @PostMapping("/comactsocialworker/delete")
+    R deleteComactsocialworker(@RequestBody ComActSocialWorkerDeleteDTO comActSocialWorkerDeleteDTO);
+
+    /**
+     * 查询社工详细信息
+     * @param id 社工 id
+     * @return 查找结果
+     */
+    @PostMapping("/comactsocialworker/{id}")
+    R<ComActSocialWorkerDetailsVO> comActSocialWorkerDetails(@PathVariable("id") Long id);
+
+    /**
+     * 批量导入社工
+     *
+     * @param list 社工集合
+     */
+    @PostMapping("/comactsocialworker/input")
+    R listSaveSocialWorkerExcelVO(@RequestBody List<ComActSocialWorkerExcelVO> list, @RequestParam("communityId") Long communityId);
+    /**
+     * 分页查询所有数据
+     *
+     * @param commonPage 查询实体
+     * @return 所有数据
+     */
+    @PostMapping("/comActSocialProject/queryAll")
+    R selectAllComActSocialProject(@RequestBody CommonPage commonPage);
+
+    /**
+     * 平台详情接口
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/comActSocialProject/{id}")
+    R selectOneComActSocialProject(@PathVariable("id") Long id);
+
+    /**
+     * 根据项目id分页获取关联项目
+     */
+    @PostMapping("/comActSocialProject/getRelation")
+    R getRelationComActSocialProject(@RequestBody CommonPage commonPage);
+
+    /**
+     * 新增数据
+     *
+     * @param socialProjectVO 实体对象
+     * @return 新增结果
+     */
+    @PostMapping("/comActSocialProject")
+    R insertComActSocialProject(@RequestBody SocialProjectVO socialProjectVO);
+    /**
+     * 修改数据
+     *
+     * @param socialProjectVO 实体对象
+     * @return 修改结果
+     */
+    @PostMapping("/comActSocialProject/update")
+    R updateComActSocialProject(@RequestBody SocialProjectVO socialProjectVO);
+    /**
+     * 删除数据
+     *
+     * @param id 主键结合
+     * @return 删除结果
+     */
+    @GetMapping("/comActSocialProject/del")
+    R deleteComActSocialProject(@RequestParam("id") Long id);
+    /**
+     * 小程序详情接口
+     * @param id
+     * @return
+     */
+    @GetMapping("/comActSocialProject/getApplet")
+    R getAppletComActSocialProject(@RequestParam("id") Long id);
+
+    /**
+     * 分页查询所有数据
+     *
+     * @param commonPage 查询实体
+     * @return 所有数据
+     */
+    @PostMapping("/comActSocialProjectMember/queryAll")
+    public R selectAllComActSocialProjectMember(@RequestBody CommonPage commonPage);
+
+    /**
+     * 通过主键查询单条数据
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/comActSocialProjectMember/{id}")
+    public R selectOneComActSocialProjectMember(@PathVariable("id") Long id);
+
+    /**
+     * 新增数据
+     *
+     * @param comActSocialProjectMemberVO 实体对象
+     * @return 新增结果
+     */
+    @PostMapping("/comActSocialProjectMember")
+    public R insertComActSocialProjectMember(@RequestBody ComActSocialProjectMemberVO comActSocialProjectMemberVO);
+
+    /**
+     * 修改数据
+     *
+     * @param comActSocialProjectMemberVO 实体对象
+     * @return 修改结果
+     */
+    @PostMapping("/comActSocialProjectMember/update")
+    public R updateComActSocialProjectMember(@RequestBody ComActSocialProjectMemberVO comActSocialProjectMemberVO);
+
+    /**
+     * 删除数据
+     *
+     * @param id 主键结合
+     * @return 删除结果
+     */
+    @GetMapping("/comActSocialProjectMember/del")
+    public R deleteComActSocialProjectMember(@RequestParam("id") Long id);
+
+    /**
+     * 分页查询所有数据
+     *
+     * @param commonPage 查询实体
+     * @return 所有数据
+     */
+    @PostMapping("/comActSocialProjectPublicity/queryAll")
+    public R selectAllComActSocialProjectPublicity(@RequestBody CommonPage commonPage);
+
+    /**
+     * 通过主键查询单条数据
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/comActSocialProjectPublicity/{id}")
+    public R selectOneComActSocialProjectPublicity(@PathVariable("id") Long id);
+
+
+    /**
+     * 新增数据
+     *
+     * @param comActSocialProjectPublicityVO 实体对象
+     * @return 新增结果
+     */
+    @PostMapping("/comActSocialProjectPublicity")
+    public R insertComActSocialProjectPublicity(@RequestBody ComActSocialProjectPublicityVO comActSocialProjectPublicityVO);
+
+    /**
+     * 修改数据
+     *
+     * @param comActSocialProjectPublicityVO 实体对象
+     * @return 修改结果
+     */
+    @PostMapping("/comActSocialProjectPublicity/update")
+    public R updateComActSocialProjectPublicity(@RequestBody ComActSocialProjectPublicityVO comActSocialProjectPublicityVO);
+
+    /**
+     * 删除数据
+     *
+     * @param id 主键结合
+     * @return 删除结果
+     */
+    @GetMapping("/comActSocialProjectPublicity/del")
+    public R deleteComActSocialProjectPublicity(@RequestParam("id") Long id);
+    /**
+     * 多条删除数据
+     *
+     * @param ids 主键结合
+     * @return 删除结果
+     */
+    @GetMapping("/comActSocialProjectPublicity/delBatch")
+    public R delBatchComActSocialProjectPublicity(@RequestParam("ids") List<Long> ids);
+
+    /**
+     * 根据projectId查询所有进度
+     *
+     * @param commonPage 查询实体
+     * @return 所有数据
+     */
+    @PostMapping("/comActSocialProjectSchedule/queryAll")
+    public R selectAllComActSocialProjectSchedule(@RequestBody CommonPage commonPage);
+
+    /**
+     * 通过主键查询单条数据
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/comActSocialProjectSchedule/{id}")
+    public R selectOneComActSocialProjectSchedule(@PathVariable("id") Long id);
+
+    /**
+     * 新增数据
+     *
+     * @param comActSocialProjectScheduleVO 实体对象
+     * @return 新增结果
+     */
+    @PostMapping("/comActSocialProjectSchedule")
+    public R insertComActSocialProjectSchedule(@RequestBody ComActSocialProjectScheduleVO comActSocialProjectScheduleVO);
+
+    /**
+     * 修改数据
+     *
+     * @param comActSocialProjectScheduleVO 实体对象
+     * @return 修改结果
+     */
+    @PostMapping("/comActSocialProjectSchedule/update")
+    public R updateComActSocialProjectSchedule(@RequestBody ComActSocialProjectScheduleVO comActSocialProjectScheduleVO);
+
+    /**
+     * 删除数据
+     *
+     * @param id 主键结合
+     * @return 删除结果
+     */
+    @GetMapping("/comActSocialProjectSchedule/del")
+    public R deleteComActSocialProjectSchedule(@RequestParam("id") Long id);
+
+    /**
+     * 项目分类级联
+     * @param comActColumnVO
+     * @return
+     */
+    @PostMapping("/queryLevel")
+    public R queryLevel(@RequestBody ComActColumnVO comActColumnVO);
 }

--
Gitblit v1.7.1