From 7d4d5f6000f09cf7e1b5e94e7873208b00315c61 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期三, 05 一月 2022 09:39:03 +0800
Subject: [PATCH] 数字商业街  订单管理

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |  206 +++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 198 insertions(+), 8 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 ad1e46c..9316746 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,6 +3,15 @@
 import java.util.List;
 
 import com.panzhihua.common.model.dtos.PageBaseDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.DisableOrEnableMcsMerchantDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsGameDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsInformationDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsMerchantDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetPopularForGameDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetShelfForGameDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.SetShelfForInfoDTO;
+import com.panzhihua.common.model.vos.community.microCommercialStreet.McsConfigVO;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.scheduling.annotation.Async;
 import org.springframework.web.bind.annotation.DeleteMapping;
@@ -7208,6 +7217,14 @@
     R pageRegisterHomeQuarantine(PageReserveRegisterDetailedAdminDTO detailedAdminDTO);
 
     /**
+     * 居家隔离导出
+     * @param pageReserveRegisterDetailedAdminDTO
+     * @return
+     */
+    @PostMapping("/reserve/admin/homeQuarantine/export")
+    R exportHomeQuarantine(@RequestBody PageReserveRegisterDetailedAdminDTO pageReserveRegisterDetailedAdminDTO);
+
+    /**
      * 分页查询物业宣传
      * @param pageComPropertyPublicityDTO
      * @return
@@ -7272,14 +7289,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);
 
     /**
      * 获取预设图片
@@ -7494,6 +7503,33 @@
     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
@@ -7653,4 +7689,158 @@
      */
     @PostMapping("/screen/index/questionnaireList")
     R indexQuestionnaireList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 首页二级页面-居民活动
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/index/residentAct")
+    R indexResidentAct(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-居民活动展示列表
+     * @param pageBaseDTO
+     * @return
+     */
+    @PostMapping("/screen/index/residentActList")
+    R indexResidentActList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 首页二级页面-志愿者活动
+     * @param communityId
+     * @return
+     */
+    @GetMapping("/screen/index/volunteerAct")
+    R indexVolunteerAct(@RequestParam("communityId") Long communityId);
+
+    /**
+     * 首页二级页面-志愿者活动展示列表
+     * @param pageBaseDTO
+     * @return
+     */
+    @PostMapping("/screen/index/volunteerActList")
+    R indexVolunteerActList(@RequestBody PageBaseDTO pageBaseDTO);
+
+    /**
+     * 新增数字商业街商家
+     * @param mcsMerchantDTO
+     * @return
+     */
+    @PostMapping("/microcommercialstreet/merchant/add")
+    R addMcsMerchant(@RequestBody McsMerchantDTO mcsMerchantDTO);
+
+    /**
+     * 编辑数字商业街商家
+     * @param mcsMerchantDTO
+     * @return
+     */
+    @PutMapping("/microcommercialstreet/merchant/put")
+    R putMcsMerchant(@RequestBody McsMerchantDTO mcsMerchantDTO);
+
+    /**
+     * 查询数字商业街商家详情
+     * @param merchantId
+     * @return
+     */
+    @GetMapping("/microcommercialstreet/merchant/get")
+    R getMcsMerchant(@RequestParam("merchantId") Long merchantId);
+
+    /**
+     * 删除数字商业街商家
+     * @param merchantId
+     * @param userId
+     * @return
+     */
+    @DeleteMapping("/microcommercialstreet/merchant/delete")
+    R deleteMcsMerchant(@RequestParam("merchantId") Long merchantId, @RequestParam("userId") Long userId);
+
+    /**
+     * 分页查询数字商业街商家
+     * @param pageMcsMerchantDTO
+     * @return
+     */
+    @PostMapping("/microcommercialstreet/merchant/page")
+    R pageMcsMerchant(@RequestBody PageMcsMerchantDTO pageMcsMerchantDTO);
+
+    /**
+     * 禁用/启用数字商业街商家
+     * @param disableOrEnableMcsMerchantDTO
+     * @return
+     */
+    @PutMapping("/microcommercialstreet/merchant/disable-or-enable")
+    R disableOrEnableMcsMerchant(@RequestBody DisableOrEnableMcsMerchantDTO disableOrEnableMcsMerchantDTO);
+
+    /**
+     * 获取所有数字商业街配置
+     * @return
+     */
+    @GetMapping("/microcommercialstreet/config/all")
+    R getAllMcsConfig();
+
+    /**
+     * 修改数字商业街配置
+     * @param configs
+     * @return
+     */
+    @PutMapping("/microcommercialstreet/config/put")
+    R putMcsConfig(@RequestBody List<McsConfigVO> configs);
+
+    /**
+     * 分页查询戳戳游戏
+     * @param pageMcsGameDTO
+     * @return
+     */
+    @PostMapping("/microcommercialstreet/game/page")
+    R pageMcsGame(@RequestBody PageMcsGameDTO pageMcsGameDTO);
+
+    /**
+     * 设为/取消游戏热门
+     * @param setPopularForGameDTO
+     * @return
+     */
+    @PutMapping("/microcommercialstreet/game/setPopular")
+    R setPopularForGame(@RequestBody SetPopularForGameDTO setPopularForGameDTO);
+
+    /**
+     * 上架/下架戳戳游戏
+     * @param setShelfForGameDTO
+     * @return
+     */
+    @PutMapping("/microcommercialstreet/game/setShelf")
+    R setShelfForGame(@RequestBody SetShelfForGameDTO setShelfForGameDTO);
+
+    /**
+     * 删除戳戳游戏
+     * @param gameId
+     * @param userId
+     * @return
+     */
+    @DeleteMapping("/microcommercialstreet/game/delete")
+    R deleteMcsGame(@RequestParam("gameId") Long gameId, @RequestParam("userId") Long userId);
+
+    /**
+     * 分页查询戳戳资讯
+     * @param pageMcsInformationDTO
+     * @return
+     */
+    @PostMapping("/microcommercialstreet/information/page")
+    R pageMcsInfo(@RequestBody PageMcsInformationDTO pageMcsInformationDTO);
+
+    /**
+     * 上架/下架戳戳资讯
+     * @param setShelfForInfoDTO
+     * @return
+     */
+    @PutMapping("/microcommercialstreet/information/setShelf")
+    R setShelfForMcsInfo(@RequestBody SetShelfForInfoDTO setShelfForInfoDTO);
+
+    /**
+     * 删除戳戳资讯
+     * @param infoId
+     * @param userId
+     * @return
+     */
+    @DeleteMapping("/microcommercialstreet/information/delete")
+    R deleteMcsInfo(@RequestParam("infoId") Long infoId, @RequestParam("userId") Long userId);
 }

--
Gitblit v1.7.1