From d99a56e37cf9109b46ee68d34a06594ef5615ed3 Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期四, 10 十一月 2022 16:06:05 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |  329 +++++++++++++++++++++++++++++++++++++-----------------
 1 files changed, 226 insertions(+), 103 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 e2d85ba..890c7ae 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
@@ -3,11 +3,9 @@
 import java.util.List;
 
 import com.panzhihua.common.model.dtos.PageBaseDTO;
-import com.panzhihua.common.model.dtos.community.ActivityInviteDTO;
-import com.panzhihua.common.model.dtos.community.DiscussVoteOptionDTO;
-import com.panzhihua.common.model.dtos.community.PageActivityInviteDTO;
-import com.panzhihua.common.model.dtos.community.PageVoteSituationDTO;
+import com.panzhihua.common.model.dtos.community.*;
 import com.panzhihua.common.model.dtos.community.acid.*;
+import com.panzhihua.common.model.dtos.community.convenient.*;
 import com.panzhihua.common.model.dtos.community.dpc.AddDpcDTO;
 import com.panzhihua.common.model.dtos.community.dpc.EditDpcDTO;
 import com.panzhihua.common.model.dtos.community.dpc.PageDpcDTO;
@@ -15,7 +13,6 @@
 import com.panzhihua.common.model.dtos.community.reserve.*;
 import com.panzhihua.common.model.dtos.community.sanshuo.*;
 import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO;
-import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO;
 import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto;
 import com.panzhihua.common.model.dtos.property.CommonPage;
 import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO;
@@ -67,85 +64,6 @@
 import com.panzhihua.common.model.dtos.common.PageComMngVolunteerOrgTeamDto;
 import com.panzhihua.common.model.dtos.common.PageComMngVolunteerServiceTypeDto;
 import com.panzhihua.common.model.dtos.common.PageComMngVolunteerSkillDto;
-import com.panzhihua.common.model.dtos.community.AddComActDynTypeDTO;
-import com.panzhihua.common.model.dtos.community.AddIdentityAuthDTO;
-import com.panzhihua.common.model.dtos.community.CancelRecordDTO;
-import com.panzhihua.common.model.dtos.community.CascadeHouseDTO;
-import com.panzhihua.common.model.dtos.community.ComActDiscussCommentDTO;
-import com.panzhihua.common.model.dtos.community.ComActDiscussCommentUserDTO;
-import com.panzhihua.common.model.dtos.community.ComActDiscussDTO;
-import com.panzhihua.common.model.dtos.community.ComActDiscussOptionUserDTO;
-import com.panzhihua.common.model.dtos.community.ComActDiscussUserDTO;
-import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentDTO;
-import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentUserDTO;
-import com.panzhihua.common.model.dtos.community.ComCvtBusinessDTO;
-import com.panzhihua.common.model.dtos.community.ComCvtCategoryDTO;
-import com.panzhihua.common.model.dtos.community.ComCvtServeDTO;
-import com.panzhihua.common.model.dtos.community.ComExServicemanDTO;
-import com.panzhihua.common.model.dtos.community.ComMngCarAppletDTO;
-import com.panzhihua.common.model.dtos.community.ComMngCarSaveDTO;
-import com.panzhihua.common.model.dtos.community.ComMngPopulationDTO;
-import com.panzhihua.common.model.dtos.community.ComMngPopulationEditDTO;
-import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseAdminDTO;
-import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseEditAdminDTO;
-import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseInsertAdminDTO;
-import com.panzhihua.common.model.dtos.community.ComMngPopulationHouseUserVO;
-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;
-import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordAddDTO;
-import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordEditDTO;
-import com.panzhihua.common.model.dtos.community.ComSwPatrolRecordPageDTO;
-import com.panzhihua.common.model.dtos.community.ComSwRotaPageDTO;
-import com.panzhihua.common.model.dtos.community.ComSwRotaSaveDTO;
-import com.panzhihua.common.model.dtos.community.ComSwSafetyWorkEditDTO;
-import com.panzhihua.common.model.dtos.community.DisabledPersonsDTO;
-import com.panzhihua.common.model.dtos.community.EditComActDynTypeDTO;
-import com.panzhihua.common.model.dtos.community.EldersAuthAddByFamilyDTO;
-import com.panzhihua.common.model.dtos.community.EldersAuthAddDTO;
-import com.panzhihua.common.model.dtos.community.EldersAuthDeleteDTO;
-import com.panzhihua.common.model.dtos.community.EldersAuthEditDTO;
-import com.panzhihua.common.model.dtos.community.EldersAuthElderlyDTO;
-import com.panzhihua.common.model.dtos.community.EldersAuthFeedbackAddDTO;
-import com.panzhihua.common.model.dtos.community.EldersAuthTypeQueryDTO;
-import com.panzhihua.common.model.dtos.community.ExportComMngCarExcelDTO;
-import com.panzhihua.common.model.dtos.community.ExportRealAssetsExcelDTO;
-import com.panzhihua.common.model.dtos.community.ExportRealCompanyExcelDTO;
-import com.panzhihua.common.model.dtos.community.GrantRewardDTO;
-import com.panzhihua.common.model.dtos.community.KeyPersonInfoDTO;
-import com.panzhihua.common.model.dtos.community.OperationDetailDTO;
-import com.panzhihua.common.model.dtos.community.PageActWorkGuideDTO;
-import com.panzhihua.common.model.dtos.community.PageComActDTO;
-import com.panzhihua.common.model.dtos.community.PageComActDiscussCommentDTO;
-import com.panzhihua.common.model.dtos.community.PageComActDiscussDTO;
-import com.panzhihua.common.model.dtos.community.PageComActDynTypeDTO;
-import com.panzhihua.common.model.dtos.community.PageComActEasyPhotoCommentDTO;
-import com.panzhihua.common.model.dtos.community.PageComCvtBusinessAppletsDTO;
-import com.panzhihua.common.model.dtos.community.PageComCvtBusinessDTO;
-import com.panzhihua.common.model.dtos.community.PageComCvtCategoryDTO;
-import com.panzhihua.common.model.dtos.community.PageComCvtServeDTO;
-import com.panzhihua.common.model.dtos.community.PageComEldersRecordsDTO;
-import com.panzhihua.common.model.dtos.community.PageComMngCarDTO;
-import com.panzhihua.common.model.dtos.community.PageComMngRealAssetsDTO;
-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;
-import com.panzhihua.common.model.dtos.community.PageEldersAuthElderlyDTO;
-import com.panzhihua.common.model.dtos.community.PageEldersAuthHistoryDTO;
-import com.panzhihua.common.model.dtos.community.PageEldersAuthRecordDTO;
-import com.panzhihua.common.model.dtos.community.PageIdentityAuthRecordDTO;
-import com.panzhihua.common.model.dtos.community.PageQuestnaireAnswerDTO;
-import com.panzhihua.common.model.dtos.community.PageQuestnaireDTO;
-import com.panzhihua.common.model.dtos.community.PageQuestnaireSubDetailsDTO;
-import com.panzhihua.common.model.dtos.community.PageUserReserveDTO;
 import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDTO;
 import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenEventDetailDTO;
 import com.panzhihua.common.model.dtos.community.bigscreen.BigScreenStatisticAgeGenderDTO;
@@ -168,22 +86,6 @@
 import com.panzhihua.common.model.dtos.community.cluster.admin.EditClusterMemberAdminDto;
 import com.panzhihua.common.model.dtos.community.cluster.admin.PageClusterAdminDto;
 import com.panzhihua.common.model.dtos.community.cluster.admin.PageClusterMemberAdminDto;
-import com.panzhihua.common.model.dtos.community.convenient.ConvenientMerchantDTO;
-import com.panzhihua.common.model.dtos.community.convenient.ConvenientProductCategoryDTO;
-import com.panzhihua.common.model.dtos.community.convenient.ConvenientProductDTO;
-import com.panzhihua.common.model.dtos.community.convenient.ConvenientServiceCategoryDTO;
-import com.panzhihua.common.model.dtos.community.convenient.DeleteConvenientProductDTO;
-import com.panzhihua.common.model.dtos.community.convenient.DisableOrEnableConvenientMerchantDTO;
-import com.panzhihua.common.model.dtos.community.convenient.ExportMerchantDTO;
-import com.panzhihua.common.model.dtos.community.convenient.OnShelfOrOffShelfProductDTO;
-import com.panzhihua.common.model.dtos.community.convenient.PageClassifyMerchantDTO;
-import com.panzhihua.common.model.dtos.community.convenient.PageConvenientMerchantDTO;
-import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductCategoryDTO;
-import com.panzhihua.common.model.dtos.community.convenient.PageConvenientProductDTO;
-import com.panzhihua.common.model.dtos.community.convenient.PageConvenientServiceCategoryDTO;
-import com.panzhihua.common.model.dtos.community.convenient.PagePopularMerchantDTO;
-import com.panzhihua.common.model.dtos.community.convenient.PageSearchDTO;
-import com.panzhihua.common.model.dtos.community.convenient.ResetPasswordConvenientMerchantDTO;
 import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoActivityDTO;
 import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoClassifyDTO;
 import com.panzhihua.common.model.dtos.community.easyPhoto.EditEasyPhotoActivityDTO;
@@ -432,6 +334,7 @@
 import com.panzhihua.common.model.vos.shop.ShopStoreVO;
 import com.panzhihua.common.model.vos.user.UserElectronicFileVO;
 import com.panzhihua.common.model.vos.user.UserPhoneVO;
+import org.springframework.web.multipart.MultipartFile;
 
 /**
  * @program: springcloud_k8s_panzhihuazhihuishequ
@@ -705,6 +608,19 @@
     R detailEasyPhoto(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
     /**
+     * 随手拍详情
+     *
+     * @param id
+     *            随手拍主键
+     * @param userId
+     *            登录用户id
+     * @return 详情内容
+     */
+    @PostMapping("detaileasyphotodesensitize")
+    R detailEasyPhotoDesensitize(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
+
+
+    /**
      * 随手拍删除
      *
      * @param id
@@ -735,6 +651,15 @@
      */
     @PostMapping("pagemicrowish/applets")
     R pageMicroWishApplets(@RequestBody ComActMicroWishVO comActMicroWishVO);
+    /**
+     * 小程序分页查询微心愿
+     *
+     * @param comActMicroWishVO
+     *            查询参数
+     * @return 分页集合
+     */
+    @PostMapping("pagemicrowish/appletsDesensitize")
+    R pageMicroWishAppletsDesensitize(@RequestBody ComActMicroWishVO comActMicroWishVO);
 
     /**
      * 心愿详情
@@ -747,6 +672,17 @@
      */
     @PostMapping("detailmicrowish")
     R detailMicroWish(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
+    /**
+     * 心愿详情
+     *
+     * @param id
+     *            查询主键
+     * @param userId
+     *            登录用户id
+     * @return 心愿内容
+     */
+    @PostMapping("detailmicrowishdesensitize")
+    R detailMicroWishDesensitize(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
     /**
      * 审核、分配、反馈心愿
@@ -1429,6 +1365,17 @@
     R pageEasyPhotoApplets(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO);
 
     /**
+     * 小程序分页查询随手拍
+     *
+     * @param comActEasyPhotoVO
+     *            查询参数
+     * @return 返回结果
+     */
+    @PostMapping("pageeasyphotoappletsdesensitize")
+    R pageEasyPhotoAppletsDesensitize(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO);
+
+
+    /**
      * 随手拍评论分页查询
      *
      * @param pageComActEasyPhotoCommentDTO
@@ -1437,6 +1384,16 @@
      */
     @PostMapping("pagecomacteasyphotocomment")
     R pageComActEasyPhotoComment(@RequestBody PageComActEasyPhotoCommentDTO pageComActEasyPhotoCommentDTO);
+
+    /**
+     * 随手拍评论分页查询 - 脱敏
+     *
+     * @param pageComActEasyPhotoCommentDTO
+     *            查询参数
+     * @return 查询结果
+     */
+    @PostMapping("pagecomacteasyphotocommentdesensitize")
+    R pageComActEasyPhotoCommentDesensitize(@RequestBody PageComActEasyPhotoCommentDTO pageComActEasyPhotoCommentDTO);
 
     /**
      * 评论点赞/取消点赞
@@ -1603,6 +1560,15 @@
      */
     @PostMapping("pagediscussapplets")
     R pageDiscussApplets(@RequestBody PageComActDiscussDTO pageComActDiscussDTO);
+    /**
+     * 议事投票-分页查询 小程序 -脱敏
+     *
+     * @param pageComActDiscussDTO
+     *            查询参数
+     * @return ComActDiscussVO 分页
+     */
+    @PostMapping("pagediscussappletsdesensitize")
+    R pageDiscussAppletsDesensitize(@RequestBody PageComActDiscussDTO pageComActDiscussDTO);
 
     /**
      * 议事投票-点赞、取消点赞
@@ -1625,6 +1591,16 @@
     R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
 
     /**
+     * 议事投票-评论-分页查询 小程序 脱敏
+     *
+     * @param pageComActDiscussCommentDTO
+     *            分页参数
+     * @return ComActDiscussCommentVO
+     */
+    @PostMapping("pagediscusscommentappletsdesensitize")
+    R pageDiscussCommentAppletsDesensitize(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
+
+    /**
      * 议事投票-详情 小程序
      *
      * @param id
@@ -1635,6 +1611,17 @@
      */
     @PostMapping("detaildiscussapplets")
     R detailDiscussApplets(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
+    /**
+     * 议事投票-详情 小程序
+     *
+     * @param id
+     *            主键
+     * @param userId
+     *            登录用户主键
+     * @return ComActDiscussVO
+     */
+    @PostMapping("detaildiscussappletsdesensitize")
+    R detailDiscussAppletsDesensitize(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
     /**
      * 议事投票-投票
@@ -10400,7 +10387,8 @@
     @GetMapping("/sanshuo/expert/backstageList")
     R backExpertList(@RequestParam(value = "keyWord",required = false)@ApiParam("搜索关键字") String keyWord,
                      @RequestParam(value = "page",required = false)Integer page,
-                     @RequestParam(value = "size",required = false)Integer size);
+                     @RequestParam(value = "size",required = false)Integer size,
+                     @RequestParam(value = "level",required = false)Integer level);
 
     /**
      * 添加专家
@@ -10430,7 +10418,7 @@
      * 小程序获取可选择专家列表
      * */
     @GetMapping("/sanshuo/expert/appletsList")
-    R expertAppList();
+    R expertAppList(@RequestParam (value = "type",required = false)Integer type,@RequestParam(value = "id",required = false)Long id);
 
     /**
      * 获取专家详情
@@ -10532,5 +10520,140 @@
      * 是否有绑定手机号码的专家账号
      * */
     @GetMapping("/sanshuo/expert/checkExpert")
-    R isExpert(@RequestParam("number") String number);
+    R isExpert(@RequestParam(value = "number",required = false) String number);
+
+    @GetMapping("/sanshuo/comEvent/streetList")
+    R streetList();
+
+    @PostMapping("/sanshuo/expert/importExpert")
+    R importExpert(@RequestBody MultipartFile file);
+
+    @GetMapping("/sanshuo/comEvent/communityList")
+    R westList();
+
+    @GetMapping("/sanshuo/expert/backstageList2")
+    R expertBackStageList(@RequestParam(value = "level",required = false)Integer level,@RequestParam(value = "page",required = false)Integer page,
+                          @RequestParam(value = "size",required = false)Integer size);
+
+    /**
+     * 查询社区id集合
+     * @param id
+     * @return
+     */
+    @GetMapping("selectCommunityIds")
+    R selectCommunityIds(@RequestParam("id") Long id);
+
+    /**
+     * 查询社区id集合
+     * @param id
+     * @return
+     */
+    @GetMapping("selectAutomessageSysUserById")
+    R selectAutomessageSysUserById(@RequestParam("id") Long id);
+
+    /**
+     * 分页查询议事委员会列表
+     * */
+    @GetMapping("/proceedings/list")
+    R proceedingsList(@RequestParam(value = "page",required = false) Integer page,
+                      @RequestParam(value = "size",required = false) Integer size,
+                      @RequestParam(value = "keyWord",required = false) String keyWord);
+    /**
+     * 添加或修改议事委员会
+     * */
+    @PostMapping("/proceedings")
+    R addOrUpdateProceedings(@RequestBody ComActProceedingsDTO comActProceedingsDTO);
+
+    /**
+     * 自提点分页查询
+     * @param pageConvenientElevatingPointDTO
+     * @return
+     */
+    @PostMapping("/convenient/point/page")
+    R pagePoint(PageConvenientElevatingPointDTO pageConvenientElevatingPointDTO);
+
+    /**
+     * 新增自提点
+     * @param convenientElevatingPointDTO
+     * @return
+     */
+    @PostMapping("/convenient/point/add")
+    R addPoint(ConvenientElevatingPointDTO convenientElevatingPointDTO);
+
+    /**
+     * 编辑自提点
+     * @param convenientElevatingPointDTO
+     * @return
+     */
+    @PutMapping("/convenient/point/put")
+    R putPoint(ConvenientElevatingPointDTO convenientElevatingPointDTO);
+
+    /**
+     * 删除便民服务 自提点
+     * @param pointId
+     * @param operator
+     * @return
+     */
+    @DeleteMapping("/point/delete")
+    R deletePoint(@RequestParam("pointId") Long pointId, @RequestParam("operator") Long operator);
+
+    /**
+     * 便民服务详情 自提点
+     * @param pointId
+     * @return
+     */
+    @GetMapping("/point/detail")
+    R detailPoint(@RequestParam("pointId") Long pointId);
+
+    /**
+     * 新增商品分类
+     * @param convenientGoodsCategoryDTO
+     * @return
+     */
+    @PostMapping("/goodsCategory/add")
+    R addGoodsCategory(@RequestBody ConvenientGoodsCategoryDTO convenientGoodsCategoryDTO);
+
+    /**
+     * 编辑
+     * @param convenientGoodsCategoryDTO
+     * @return
+     */
+    @PutMapping("/goodsCategory/put")
+    R putGoodsCategory(@RequestBody ConvenientGoodsCategoryDTO convenientGoodsCategoryDTO);
+
+    /**
+     * 删除商品分类
+     * @param categoryId
+     * @return
+     */
+    @DeleteMapping("/goodsCategory/delete")
+    R deleteGoodsCategory(@RequestParam("categoryId") Long categoryId, @RequestParam("operator") Long operator);
+
+    /**
+     * 获取商品分类详情
+     * @param categoryId
+     * @return
+     */
+    @GetMapping("/goodsCategory/get")
+    R getGoodsCategory(@RequestParam("categoryId") Long categoryId);
+
+    /**
+     * 分页查询商品分类
+     * @param pageConvenientGoodsCategoryDTO
+     * @return
+     */
+    @PostMapping("/goodsCategory/page")
+     R pageGoodsCategory(@RequestBody PageConvenientGoodsCategoryDTO pageConvenientGoodsCategoryDTO);
+
+    @GetMapping("/dataCount")
+    R dataCount();
+
+    @DeleteMapping("/proceedings/remove")
+    R removeProceedings(@RequestParam("id") Long id);
+
+    /**
+     * 获取物业公司通知公告列表
+     * */
+    @GetMapping("comProperty/noticeList")
+    R noticeList(@RequestParam("page")Integer page,@RequestParam("size")Integer size,@RequestParam("propertyId")Long propertyId);
 }

--
Gitblit v1.7.1