From aad170db8e65a67d1ba34e72a21eb19d91a05373 Mon Sep 17 00:00:00 2001
From: manailin <261030956@qq.com>
Date: 星期二, 30 十一月 2021 17:26:22 +0800
Subject: [PATCH] Merge branch 'test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into test

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |  300 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 271 insertions(+), 29 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 62e7d07..553e958 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
@@ -2,24 +2,6 @@
 
 import java.util.List;
 
-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.community.*;
-import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO;
-import io.swagger.annotations.ApiOperation;
-import com.panzhihua.common.model.vos.community.*;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.DeleteMapping;
 import org.springframework.web.bind.annotation.GetMapping;
@@ -59,6 +41,7 @@
 import com.panzhihua.common.model.dtos.community.ComMngPopulationTagDTO;
 import com.panzhihua.common.model.dtos.community.ComMngRealCompanyBelongsDTO;
 import com.panzhihua.common.model.dtos.community.ComOpsHouseDTO;
+import com.panzhihua.common.model.dtos.community.ComPropertyPublicityDTO;
 import com.panzhihua.common.model.dtos.community.ComSwDangerReportEditDTO;
 import com.panzhihua.common.model.dtos.community.ComSwDangerReportHandleDTO;
 import com.panzhihua.common.model.dtos.community.ComSwDangerReportRectifyDTO;
@@ -100,6 +83,7 @@
 import com.panzhihua.common.model.dtos.community.PageComMngRealCompanyDTO;
 import com.panzhihua.common.model.dtos.community.PageComMngVillageDTO;
 import com.panzhihua.common.model.dtos.community.PageComOpsHouseDTO;
+import com.panzhihua.common.model.dtos.community.PageComPropertyPublicityDTO;
 import com.panzhihua.common.model.dtos.community.PageComStreetDTO;
 import com.panzhihua.common.model.dtos.community.PageElderAuthRecordsDTO;
 import com.panzhihua.common.model.dtos.community.PageEldersAuthDTO;
@@ -120,6 +104,13 @@
 import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenActActivityPeopleListDTO;
 import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenDiscussListDTO;
 import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenMicroListDTO;
+import com.panzhihua.common.model.dtos.community.building.admin.AddBuildingHouseDto;
+import com.panzhihua.common.model.dtos.community.building.admin.AddBuildingUnitDto;
+import com.panzhihua.common.model.dtos.community.building.admin.DeleteBuildingHousePopulationDto;
+import com.panzhihua.common.model.dtos.community.building.admin.EditBuildingHouseDto;
+import com.panzhihua.common.model.dtos.community.building.admin.EditBuildingUnitDto;
+import com.panzhihua.common.model.dtos.community.building.admin.PageBuildingListDto;
+import com.panzhihua.common.model.dtos.community.building.admin.PageBuildingUnitHouseListDto;
 import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto;
 import com.panzhihua.common.model.dtos.community.cluster.admin.AddClusterAdminDto;
 import com.panzhihua.common.model.dtos.community.cluster.admin.AddClusterMemberAdminDto;
@@ -179,6 +170,7 @@
 import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletAdminDTO;
 import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeAdminDTO;
 import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO;
+import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO;
 import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseDonatesDTO;
 import com.panzhihua.common.model.dtos.community.warehouse.ExportDonatesDTO;
 import com.panzhihua.common.model.dtos.community.warehouse.PageDonatesDTO;
@@ -251,7 +243,10 @@
 import com.panzhihua.common.model.vos.community.BatchhouseVO;
 import com.panzhihua.common.model.vos.community.ComActActEvaluateVO;
 import com.panzhihua.common.model.vos.community.ComActActRegistVO;
+import com.panzhihua.common.model.vos.community.ComActActivityTypeVO;
 import com.panzhihua.common.model.vos.community.ComActActivityVO;
+import com.panzhihua.common.model.vos.community.ComActAnnouncementVO;
+import com.panzhihua.common.model.vos.community.ComActColumnVO;
 import com.panzhihua.common.model.vos.community.ComActCommiteeVO;
 import com.panzhihua.common.model.vos.community.ComActDynVO;
 import com.panzhihua.common.model.vos.community.ComActEasyPhotoVO;
@@ -303,6 +298,7 @@
 import com.panzhihua.common.model.vos.community.ComSwRotaExcelVO;
 import com.panzhihua.common.model.vos.community.EldersAuthDetailsVO;
 import com.panzhihua.common.model.vos.community.EldersAuthElderlyExcelVO;
+import com.panzhihua.common.model.vos.community.QRActivityCodeVO;
 import com.panzhihua.common.model.vos.community.ResetComActMessageVO;
 import com.panzhihua.common.model.vos.community.SignactivityVO;
 import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticAgeGender;
@@ -1067,12 +1063,10 @@
      *
      * @param userId
      *            用户id
-     * @param status
      * @return 活动列表
      */
     @PostMapping("listactivity")
-    R listActivity(@RequestParam("userId") Long userId,
-                   @RequestParam(value = "status", required = false) Integer status);
+    R listActivity(@RequestParam("userId") Long userId);
 
     /**
      * 用户确认心愿
@@ -2500,6 +2494,12 @@
     R pagePopulation(ComMngPopulationDTO comMngPopulationVO);
 
     /**
+     * 根据身份证查询实有人口信息
+     */
+    @GetMapping("/common/data/population/selectByIdCard")
+    R selectByIdCard(@RequestParam("idCard") String idCard);
+
+    /**
      * 根据id实有人口详细信息
      *
      * @param populationId
@@ -2532,12 +2532,12 @@
     /**
      * 批量删除实有人口
      *
-     * @param Ids
+     * @param ids
      *            实有人口id集合
      * @return 删除结果
      */
     @PostMapping("/common/data/population/delete")
-    R deletePopulations(@RequestBody List<Long> Ids);
+    R deletePopulations(@RequestBody List<Long> ids,@RequestParam("communityId") Long communityId);
 
     /**
      * 根据社区id查询所有实有人口
@@ -3838,6 +3838,15 @@
     R exportElderAuthRecordsStatistic(@RequestBody PageElderAuthStatisticDTO pageElderAuthRecordsDTO);
 
     /**
+     * 导出高龄认证记录 exportElderAuthRecords  导出高龄认证记录
+     * @param    pageElderAuthRecordsDTO   查询参数
+     * @return    R  查询结果
+     * @date 2021/9/02 11:03
+     */
+    @PostMapping("/elders/authRecords/export")
+    R exportElderAuthRecords(@RequestBody PageElderAuthRecordsDTO pageElderAuthRecordsDTO);
+
+    /**
      * 分页查询养老金人员认证记录  pagePensionAuthRecords  分页查询养老金人员认证记录
      * @param    pageElderAuthRecordsDTO   查询参数
      * @return    R  查询结果
@@ -4919,6 +4928,22 @@
     R getCommunityLists();
 
     /**
+     * 查询西区社区列表
+     *
+     * @return 社区列表
+     */
+    @GetMapping("/eventgrid/community/westList")
+    R getWestCommunityLists();
+
+    /**
+     * 综治app-小区列表
+     * @param villageListAppDTO 请求参数
+     * @return  小区列表
+     */
+    @PostMapping("/village/grid/list/app")
+    R getGridVillageListApp(@RequestBody ComMngVillageListAppDTO villageListAppDTO);
+
+    /**
      * 分页查询退役军人列表
      *
      * @param comExServicemanDTO
@@ -5326,7 +5351,7 @@
      * @return 查询结果
      */
     @GetMapping("/patrolRecord/rota/getRotaPersonByDate")
-    R getRotaPersonByDate(@RequestParam(value = "rotaDate") String rotaDate);
+    R getRotaPersonByDate(@RequestParam(value = "rotaDate") String rotaDate,@RequestParam("communityId")Long communityId);
 
     /**
      * 根据日期查询值班领导
@@ -5334,7 +5359,7 @@
      * @return 查询结果
      */
     @GetMapping("/patrolRecord/rota/getRotaLeaderByDate")
-    R getRotaLeaderByDate(@RequestParam(value = "rotaDate") String rotaDate);
+    R getRotaLeaderByDate(@RequestParam(value = "rotaDate") String rotaDate,@RequestParam("communityId")Long communityId);
 
     /**
      * 批量导入值班表
@@ -5499,6 +5524,8 @@
     @PostMapping("/reserve/commit")
     R reserveCommit(@RequestBody ComActReserveCommitVO comActReserveCommitVO);
 
+    @PostMapping("/reserve/commitNoToken")
+    R reserveCommitNoToken(@RequestBody ComActReserveCommitVO comActReserveCommitVO);
     /**
      * 我的预约/登记
      * @param pageUserReserveDTO
@@ -5673,11 +5700,12 @@
 
     /**
      * 导出登记明细数据
-     * @param reserveId 登记id
-     * @return  登记明细数据
+     *
+     * @param pageReserveRegisterDetailedAdminDTO
+     * @return 登记明细数据
      */
-    @GetMapping("/reserve/admin/register/list/export")
-    R exportRegisterAdmin(@RequestParam("reserveId") Long reserveId);
+    @PostMapping("/reserve/admin/register/list/export")
+    R exportRegisterAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO);
 
     /**
      * 查询预约登记题目列表
@@ -6998,6 +7026,129 @@
     public R resetQRCode(@RequestBody QRActivityCodeVO qrCodeVO);
 
     /**
+     * 实有房屋数据修复定时任务
+     * @return  实有房屋数据修复定时任务
+     */
+    @GetMapping("/population/house/status/task")
+    R timedTaskHouseJobHandler();
+
+    /**
+     * 导出特殊群体
+     *
+     * @param pageInputUserDTO 请求参数
+     * @return 特殊群体列表
+     */
+    @PostMapping("common/data/special/export")
+    R specialInputUserExport(@RequestBody PageInputUserDTO pageInputUserDTO);
+
+    /**
+     * 分页查询所有数据
+     *
+     * @param commonPage 查询实体
+     * @return 所有数据
+     */
+    @PostMapping("/comActAnnouncement/queryAll")
+    R comActAnnouncementSelectAll(@RequestBody CommonPage commonPage);
+
+    /**
+     * 通过主键查询单条数据
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/comActAnnouncement/{id}")
+    R comActAnnouncementSelectOne(@PathVariable("id") Long id);
+
+    /**
+     * 新增数据
+     *
+     * @param comActAnnouncementVO 实体对象
+     * @return 新增结果
+     */
+    @PostMapping("/comActAnnouncement")
+    R comActAnnouncementInsert(@RequestBody ComActAnnouncementVO comActAnnouncementVO);
+
+    /**
+     * 修改数据
+     *
+     * @param comActAnnouncementVO 实体对象
+     * @return 修改结果
+     */
+    @PostMapping("/comActAnnouncement/update")
+    R comActAnnouncementUpdate(@RequestBody ComActAnnouncementVO comActAnnouncementVO);
+
+    /**
+     * 删除数据
+     *
+     * @param id 主键结合
+     * @return 删除结果
+     */
+    @GetMapping("/comActAnnouncement/del")
+    R comActAnnouncementDelete(@RequestParam("id") Long id);
+
+    /**
+     * 分页查询所有数据
+     *
+     * @param commonPage 查询实体
+     * @return 所有数据
+     */
+    @PostMapping("/comActColumn/queryAll")
+    R comActColumnSelectAll(@RequestBody CommonPage commonPage);
+
+    /**
+     * 通过主键查询单条数据
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/comActColumn/{id}")
+    R comActColumnSelectOne(@PathVariable("id") Long id);
+
+    /**
+     * 新增数据
+     *
+     * @param comActColumn 实体对象
+     * @return 新增结果
+     */
+    @PostMapping("/comActColumn")
+    R comActColumnInsert(@RequestBody ComActColumnVO comActColumn);
+
+    /**
+     * 修改数据
+     *
+     * @param comActColumn 实体对象
+     * @return 修改结果
+     */
+    @PostMapping("/comActColumn/update")
+    R comActColumnUpdate(@RequestBody ComActColumnVO comActColumn);
+
+    /**
+     * 删除数据
+     *
+     * @param id 主键结合
+     * @return 删除结果
+     */
+    @GetMapping("/comActColumn/del")
+    R comActColumnDelete(@RequestParam("id") Long id);
+
+    /**
+     * 高龄认证添加
+     *
+     * @param comElderAuthRecordVO
+     * @return
+     */
+    @PostMapping("/elders/authRecord/add")
+    R addAuthRecord(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO);
+
+    /**
+     * 养老认证添加
+     *
+     * @param comElderAuthRecordVO
+     * @return
+     */
+    @PostMapping("/elders/pensionAuthRecord/add")
+    R addPensionAuthRecordVO(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO);
+    /**
      * 活动报名签到情况
      * @param id 活动主键id
      * @return
@@ -7039,4 +7190,95 @@
      */
     @GetMapping("/activity/my-evaluate")
     R listMyActivityEvaluate(@RequestParam("userId") Long userId, @RequestParam("activityId") Long activityId);
+
+    /**
+     * 分页查询居家隔离统计
+     * @param detailedAdminDTO
+     * @return
+     */
+    @PostMapping("/reserve/admin/register/homeQuarantine/page")
+    R pageRegisterHomeQuarantine(PageReserveRegisterDetailedAdminDTO detailedAdminDTO);
+
+    /**
+     * 分页查询物业宣传
+     * @param pageComPropertyPublicityDTO
+     * @return
+     */
+    @PostMapping("/property/publicity/page")
+    R pageComPropertyPublicity(@RequestBody PageComPropertyPublicityDTO pageComPropertyPublicityDTO);
+
+    /**
+     * 新增物业宣传
+     * @param comPropertyPublicityDTO
+     * @return
+     */
+    @PostMapping("/property/publicity/add")
+    R addComPropertyPublicity(@RequestBody ComPropertyPublicityDTO comPropertyPublicityDTO);
+
+    /**
+     * 修改物业宣传
+     * @param comPropertyPublicityDTO
+     * @return
+     */
+    @PostMapping("/property/publicity/update")
+    R updateComPropertyPublicity(@RequestBody ComPropertyPublicityDTO comPropertyPublicityDTO);
+
+    /**
+     * 查看物业宣传信息
+     * @param id
+     * @return
+     */
+    @GetMapping("/property/publicity/get")
+    R getComPropertyPublicity(@RequestParam("id") Long id);
+
+    /**
+     * 删除物业宣传
+     * @param id
+     * @return
+     */
+    @DeleteMapping("/property/publicity/delete")
+    R deleteComPropertyPublicity(@RequestParam("id") Long id);
+
+    /**
+     * 物业公司列表
+     *
+     * @param villageId
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/property/publicity/list/property")
+    R listProperty(@RequestParam(value = "villageId", required = false) Long villageId, @RequestParam("communityId") Long communityId);
+
+    /**
+     * 分页查询物业宣传-小程序
+     * @param pageComPropertyPublicityDTO
+     * @return
+     */
+    @PostMapping("/property/publicity/page/applet")
+    R pageComPropertyPublicityApplet(@RequestBody PageComPropertyPublicityDTO pageComPropertyPublicityDTO);
+
+    /**
+     * 增加物业宣传浏览量
+     * @param id
+     * @return
+     */
+    @GetMapping("/property/publicity/incr-view")
+    R incrPropertyPublicityView(@RequestParam("id") Long id);
+
+    /**
+     * 居家隔离导出
+     * @param pageReserveRegisterDetailedAdminDTO
+     * @return
+     */
+    @PostMapping("/reserve/admin/homeQuarantine/export")
+    R exportHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO);
+
+    /**
+     * 获取预设图片
+     * @param type
+     * @param subtype
+     * @return
+     */
+    @GetMapping("/picture/library/get")
+    R getPresetPictureLibrary(@RequestParam("type") Integer type, @RequestParam("subtype") Integer subtype);
 }

--
Gitblit v1.7.1