From 308faeb404a46938a1e4c763339eaba6c119eed7 Mon Sep 17 00:00:00 2001
From: luoyuanqiao <2376770955@qq.com>
Date: 星期二, 01 三月 2022 14:44:40 +0800
Subject: [PATCH] 随手拍增加评价
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 880 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 865 insertions(+), 15 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 324ffac..119e327 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,6 +2,7 @@
import java.util.List;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.DeleteProductDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.DeleteMapping;
@@ -13,6 +14,7 @@
import org.springframework.web.bind.annotation.RequestParam;
import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO;
+import com.panzhihua.common.model.dtos.PageBaseDTO;
import com.panzhihua.common.model.dtos.PageDTO;
import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO;
import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO;
@@ -152,8 +154,32 @@
import com.panzhihua.common.model.dtos.community.integral.admin.EditComActIntegralRuleDTO;
import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralRuleDTO;
import com.panzhihua.common.model.dtos.community.integral.admin.PageComActIntegralTradeDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.DisableOrEnableMcsMerchantDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.LoginWithPhoneDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsEvaluateDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsGameDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsInfoDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsMerchantDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.McsProductDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageJoinGameListDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsEvaluateDTO;
+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.PageMcsProductDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageVerifyRecordDTO;
+import com.panzhihua.common.model.dtos.community.microCommercialStreet.PutUserInfoDTO;
+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.dtos.community.microCommercialStreet.SetShelfForProductDTO;
import com.panzhihua.common.model.dtos.community.questnaire.StatisticsSummaryDTO;
-import com.panzhihua.common.model.dtos.community.rentingHouses.*;
+import com.panzhihua.common.model.dtos.community.rentingHouses.NearbyDTO;
+import com.panzhihua.common.model.dtos.community.rentingHouses.PageRentingHouseRegisterDTO;
+import com.panzhihua.common.model.dtos.community.rentingHouses.PageRentingHousesConfigDTO;
+import com.panzhihua.common.model.dtos.community.rentingHouses.ReleaseOrCancelHouseDTO;
+import com.panzhihua.common.model.dtos.community.rentingHouses.RentingHouseRegisterDTO;
+import com.panzhihua.common.model.dtos.community.rentingHouses.RentingHousesConfigDTO;
import com.panzhihua.common.model.dtos.community.reserve.AddReserveAdminDTO;
import com.panzhihua.common.model.dtos.community.reserve.CancelReserveRecordDTO;
import com.panzhihua.common.model.dtos.community.reserve.ComActReserveMakeStatisticsDTO;
@@ -245,6 +271,7 @@
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;
@@ -299,6 +326,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;
@@ -307,6 +335,8 @@
import com.panzhihua.common.model.vos.community.bigscreen.PartyBuildingMemberVO;
import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO;
import com.panzhihua.common.model.vos.community.convenient.ConvenientMerchantVO;
+import com.panzhihua.common.model.vos.community.microCommercialStreet.McsConfigVO;
+import com.panzhihua.common.model.vos.community.microCommercialStreet.McsOrderVO;
import com.panzhihua.common.model.vos.community.questnaire.EditComActQuestnaireVo;
import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO;
import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO;
@@ -327,6 +357,8 @@
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 javax.validation.Valid;
/**
* @program: springcloud_k8s_panzhihuazhihuishequ
@@ -1067,10 +1099,11 @@
*
* @param userId
* 用户id
+ * @param status
* @return 活动列表
*/
@PostMapping("listactivity")
- R listActivity(@RequestParam("userId") Long userId);
+ R listActivity(@RequestParam("userId") Long userId, @RequestParam(value = "status", required = false) Integer status);
/**
* 用户确认心愿
@@ -1166,7 +1199,7 @@
* @return 社区集合 按照创建顺序倒序排列
*/
@PostMapping("listcommunityall")
- R listCommunityAll();
+ R listCommunityAll(@RequestParam("areaCode")String areaCode);
/**
* 首页广告banner
@@ -2498,6 +2531,17 @@
R pagePopulation(ComMngPopulationDTO comMngPopulationVO);
/**
+ * 导出老人
+ *
+ * @param comMngPopulationVO
+ * 查询参数
+ * @return 分页集合
+ */
+ @PostMapping("/common/data/population/exportOld")
+ R exportOld(ComMngPopulationDTO comMngPopulationVO);
+
+
+ /**
* 根据身份证查询实有人口信息
*/
@GetMapping("/common/data/population/selectByIdCard")
@@ -3324,7 +3368,7 @@
* @date 2021/8/31 15:03
*/
@GetMapping("/workGuide/classify/getList")
- R getWorkGuideClassifyList();
+ R getWorkGuideClassifyList(@RequestParam("areaCode")String areaCode);
/**
* 分页查询邻里圈
@@ -4937,7 +4981,15 @@
* @return 社区列表
*/
@GetMapping("/eventgrid/community/westList")
- R getWestCommunityLists();
+ R getWestCommunityLists(@RequestParam("areaCode")String areaCode);
+
+ /**
+ * 综治app-小区列表
+ * @param villageListAppDTO 请求参数
+ * @return 小区列表
+ */
+ @PostMapping("/village/grid/list/app")
+ R getGridVillageListApp(@RequestBody ComMngVillageListAppDTO villageListAppDTO);
/**
* 分页查询退役军人列表
@@ -5292,11 +5344,11 @@
R addIntegralTradeAdmin(@RequestBody AddComActIntegralUserDTO integralUserDTO);
/**
- * 根据社区活动id查询社区活动报名人员列表
+ * 根据社区活动id查询社区活动报名且未参与人员列表
*
* @param activityId
* 活动id
- * @return 社区活动报名人员列表
+ * @return 社区活动报名且未参与人员列表
*/
@PostMapping("/integral/act/activity/admin")
R getTaskActivityPeopleList(@RequestParam("activityId") Long activityId);
@@ -5384,7 +5436,7 @@
* @return 社区列表
*/
@GetMapping("/switch/community/all/list")
- R communitySwitchList();
+ R communitySwitchList(@RequestParam("areaCode") String areaCode);
/**
* 根据名字查询所有社区列表
@@ -5394,7 +5446,7 @@
* @return 社区列表
*/
@GetMapping("/switch/community/search/list")
- R communitySwitchSearchList(@RequestParam(value = "name") String name);
+ R communitySwitchSearchList(@RequestParam(value = "name") String name,@RequestParam(value = "areaCode") String areaCode);
/**
* 根据经纬度以及距离搜索附近社区列表
@@ -5492,7 +5544,7 @@
* @return 随手拍分类列表
*/
@GetMapping("/classify/admin/list")
- R listPhotoClassify();
+ R listPhotoClassify(@RequestParam("areaCode") String areaCode);
/**
* 社区后台-切换随手拍公示状态
@@ -5718,6 +5770,14 @@
*/
@PostMapping("/reserve/admin/register/detailed/list")
R registerDetailedListAdmin(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO);
+
+ /**
+ * 导出登记明细列表
+ * @param detailedAdminDTO 请求参数
+ * @return 登记明细列表
+ */
+ @PostMapping("/reserve/admin/register/detailed/list/export")
+ R registerDetailedListAdminExport(@RequestBody PageReserveRegisterDetailedAdminDTO detailedAdminDTO);
/**
* 查询登记详情记录
@@ -6331,7 +6391,7 @@
* @return
*/
@GetMapping("/convenient/service-category/all")
- R getAllServiceCategories();
+ R getAllServiceCategories(@RequestParam("areaCode") String areaCode);
/**
* 获取用户便民服务商家详情
@@ -6452,7 +6512,7 @@
* @return
*/
@GetMapping("/convenient/service-category/suitable")
- R getSuitableServiceCategories(@RequestParam("communityId") Long communityId);
+ R getSuitableServiceCategories(@RequestParam("communityId") Long communityId,@RequestParam("areaCode")String areaCode);
/**
* 获取该社区下的热门商家
@@ -7006,6 +7066,22 @@
R applyDonates(@RequestBody ComActWarehouseApplyDTO comActWarehouseApplyDTO);
/**
+ * 生成二维码
+ * @param qrCodeVO
+ * @return
+ */
+ @PostMapping("/comActActivityCode/getQRCode")
+ public R getQRCode(@RequestBody QRActivityCodeVO qrCodeVO);
+
+ /**
+ * 重置二维码
+ * @param qrCodeVO
+ * @return
+ */
+ @PostMapping("/comActActivityCode/resetQRCode")
+ public R resetQRCode(@RequestBody QRActivityCodeVO qrCodeVO);
+
+ /**
* 实有房屋数据修复定时任务
* @return 实有房屋数据修复定时任务
*/
@@ -7128,6 +7204,48 @@
*/
@PostMapping("/elders/pensionAuthRecord/add")
R addPensionAuthRecordVO(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO);
+ /**
+ * 活动报名签到情况
+ * @param id 活动主键id
+ * @return
+ */
+ @GetMapping("/activity/sign-in/list")
+ R listSignInRecord(@RequestParam("id") Long id);
+
+ /**
+ * 活动签到记录
+ * @param id 活动主键
+ * @param userId 用户id
+ * @return
+ */
+ @GetMapping("/activity/regist/list")
+ R listRegistRecord(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
+
+ /**
+ * 获取活动类型(目前只有志愿者活动需要获取)
+ * @param communityId
+ * @param type
+ * @return
+ */
+ @GetMapping("/activity/type/list")
+ R listActivityType(@RequestParam("communityId") Long communityId, @RequestParam("type") Integer type);
+
+ /**
+ * 添加活动类型
+ * @param comActActivityTypeVO
+ * @return
+ */
+ @PostMapping("/activity/type/add")
+ R addActivityType(@RequestBody ComActActivityTypeVO comActActivityTypeVO);
+
+ /**
+ * 我的评价
+ * @param userId
+ * @param activityId
+ * @return
+ */
+ @GetMapping("/activity/my-evaluate")
+ R listMyActivityEvaluate(@RequestParam("userId") Long userId, @RequestParam("activityId") Long activityId);
/**
* 分页查询居家隔离统计
@@ -7424,6 +7542,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
@@ -7433,11 +7578,11 @@
/**
* 党员积分前3
- * @param communityId
+ * @param pageBigScreenStatisticPartyOrg
* @return
*/
- @GetMapping("/bigscreen/party/partyActivityTop")
- R partyActivityTop(@RequestParam("communityId")Long communityId);
+ @PostMapping("/bigscreen/party/partyActivityTop")
+ R partyActivityTop(@RequestBody PageBigScreenStatisticPartyOrg pageBigScreenStatisticPartyOrg);
/**
* 社区服务大屏数据分析接口
@@ -7450,4 +7595,709 @@
*/
@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 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);
+
+ /**
+ * 清网治格-根据事件分类获取近1月的社区事件数据
+ * @param type
+ * @param communityId
+ * @return
+ */
+ @GetMapping("/screen/event/list")
+ R getEventList(@RequestParam(value = "type") Integer type, @RequestParam(value = "communityId") Long communityId);
+
+ /**
+ * 清网治格-社区事件数据分页
+ * @param pageBaseDTO
+ * @return
+ */
+ @PostMapping("/screen/event/page")
+ R pageEventList(@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);
+
+ /**
+ * 分页查询评价记录
+ * @param pageMcsEvaluateDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/evaluate/page")
+ R pageMcsEvaluate(@RequestBody PageMcsEvaluateDTO pageMcsEvaluateDTO);
+
+ /**
+ * 查询评价记录详情
+ * @param evaluateId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/evaluate/get")
+ R getMcsEvaluate(@RequestParam("evaluateId") Long evaluateId);
+
+ /**
+ * 删除评价记录
+ * @param evaluateId
+ * @return
+ */
+ @DeleteMapping("/microcommercialstreet/evaluate/delete")
+ R deleteMcsEvaluate(@RequestParam("evaluateId") Long evaluateId);
+
+ /**
+ * 新增戳戳游戏
+ * @param mcsGameDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/game/add")
+ R addMcsGame(@RequestBody McsGameDTO mcsGameDTO);
+
+ /**
+ * 编辑戳戳游戏
+ * @param mcsGameDTO
+ * @return
+ */
+ @PutMapping("/microcommercialstreet/game/put")
+ R putMcsGame(@RequestBody McsGameDTO mcsGameDTO);
+
+ /**
+ * 发布戳戳游戏
+ * @param gameId
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/game/publish")
+ R publishMcsGame(@RequestParam("gameId") Long gameId, @RequestParam("userId") Long userId);
+
+ /**
+ * 结束戳戳游戏
+ * @param gameId
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/game/finish")
+ R finishMcsGame(@RequestParam("gameId") Long gameId, @RequestParam("userId") Long userId);
+
+ /**
+ * 戳戳游戏/资讯顶部统计数据
+ * @param type
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/statistics/top")
+ R getTopStatistics(@RequestParam("type") Integer type, @RequestParam("userId") Long userId);
+
+ /**
+ * 新增戳戳资讯
+ * @param mcsInfoDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/information/add")
+ R addMcsInfo(@RequestBody McsInfoDTO mcsInfoDTO);
+
+ /**
+ * 编辑戳戳资讯
+ * @param mcsInfoDTO
+ * @return
+ */
+ @PutMapping("/microcommercialstreet/information/put")
+ R putMcsInfo(@RequestBody McsInfoDTO mcsInfoDTO);
+
+ /**
+ * 发布戳戳资讯
+ * @param infoId
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/information/publish")
+ R publishMcsInfo(@RequestParam("infoId") Long infoId, @RequestParam("userId") Long userId);
+
+ /**
+ * 新增产品信息
+ * @param mcsProductDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/product/add")
+ R addMcsProduct(@RequestBody McsProductDTO mcsProductDTO);
+
+ /**
+ * 编辑产品信息
+ * @param mcsProductDTO
+ * @return
+ */
+ @PutMapping("/microcommercialstreet/product/put")
+ R putMcsProduct(@RequestBody McsProductDTO mcsProductDTO);
+
+ /**
+ * 删除产品信息
+ * @param deleteProductDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/product/delete")
+ R deleteMcsProduct(@RequestBody DeleteProductDTO deleteProductDTO);
+
+ /**
+ * 上架/下架产品信息
+ * @param setShelfForProductDTO
+ * @return
+ */
+ @PutMapping("/microcommercialstreet/product/setShelf")
+ R setShelfForMcsProduct(@RequestBody SetShelfForProductDTO setShelfForProductDTO);
+
+ /**
+ * 分页查询产品信息
+ * @param pageMcsProductDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/product/page")
+ R pageMcsProduct(@RequestBody PageMcsProductDTO pageMcsProductDTO);
+
+ /**
+ * 获取产品标签列表
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/label/list")
+ R getMcsLabelList(@RequestParam("userId") Long userId);
+
+ /**
+ * check商家/店铺是否有效
+ * @param userId
+ * @return
+ */
+ @GetMapping("/shop/checkStoreIsValid")
+ R checkStoreIsValid(@RequestParam("userId") Long userId);
+
+ /**
+ * 根据account查询微商业街商家信息
+ * @param account
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/getMcsMerchantByAccount")
+ R getMcsMerchantByAccount(@RequestParam("account") String account);
+
+ /**
+ * 完成订单更新/新增商家信息
+ * @param merchantName
+ * @param configId
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/updateAfterOrder")
+ R updateMcsMerchantAfterOrder(@RequestParam(value = "merchantName", required = false) String merchantName,
+ @RequestParam("configId") Long configId, @RequestParam("userId") Long userId);
+
+ /**
+ * 分页查询所有数据
+ *
+ * @param commonPage 查询实体
+ * @return 所有数据
+ */
+ @PostMapping("/mcsOrder/queryAll")
+ R selectAllMscOrder(@RequestBody CommonPage commonPage);
+
+ /**
+ * 通过主键查询单条数据
+ *
+ * @param id 主键
+ * @return 单条数据
+ */
+ @GetMapping("/mcsOrder/{id}")
+ R selectOneMscOrder(@PathVariable("id") Long id);
+
+ /**
+ * 新增数据
+ *
+ * @param mcsOrderVO 实体对象
+ * @return 新增结果
+ */
+ @PostMapping("/mcsOrder")
+ R insertMscOrder(@RequestBody McsOrderVO mcsOrderVO);
+
+ /**
+ * 修改数据
+ *
+ * @param mcsOrderVO 实体对象
+ * @return 修改结果
+ */
+ @PostMapping("/mcsOrder/update")
+ R updateMscOrder(@RequestBody McsOrderVO mcsOrderVO);
+
+ /**
+ * 微信支付
+ * @param mcsOrderVO
+ * @return
+ */
+ @PostMapping("/mcsOrder/wxPay")
+ R wxPayMscOrder(McsOrderVO mcsOrderVO);
+
+ /**
+ * 发送提醒短信
+ * @param id
+ * @return
+ */
+ @GetMapping("/mcsOrder/sendContent")
+ R sendContentMcsOrder(@RequestParam("id") Long id);
+
+ /**
+ *微信支付回调
+ * @param mcsOrderVO
+ * @return
+ */
+ @PostMapping("/mcsOrder/notify")
+ R notifyMcsOrder(@RequestBody McsOrderVO mcsOrderVO);
+
+ /**
+ * 验证码登录
+ * @param loginDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/loginWithPhone")
+ R loginWithPhone(@RequestBody LoginWithPhoneDTO loginDTO);
+
+ /**
+ * 首页顶部数据
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/index/topData")
+ R getMcsIndexTopData();
+
+ /**
+ * 戳戳卷领取
+ * @param gameId
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/coupon/apply")
+ R applyMcsCoupon(@RequestParam("gameId") Long gameId, @RequestParam("userId") Long userId);
+
+ /**
+ * h5分页查询戳戳资讯
+ * @param pageMcsInformationDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/information/pageH5")
+ R pageH5McsInfo(@RequestBody PageMcsInformationDTO pageMcsInformationDTO);
+
+ /**
+ * h5分页查询戳戳游戏
+ * @param pageMcsGameDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/game/pageH5")
+ R pageH5McsGame(@RequestBody PageMcsGameDTO pageMcsGameDTO);
+
+ /**
+ * 游戏详情
+ * @param gameId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/game/get")
+ R getMcsGame(@RequestParam("gameId") Long gameId);
+
+ /**
+ * 资讯详情
+ * @param infoId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/info/get")
+ R getMcsInfo(@RequestParam("infoId") Long infoId);
+
+ /**
+ * H5分页查询数字商业街商家
+ * @param pageMcsMerchantDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/merchant/pageH5")
+ R pageH5McsMerchant(@RequestBody PageMcsMerchantDTO pageMcsMerchantDTO);
+
+ /**
+ * 我的戳戳卷
+ * @param type
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/myCoupon")
+ R getMyCoupon(@RequestParam(value = "type", required = false) Integer type, @RequestParam("userId") Long userId);
+
+ /**
+ * 新增评价记录
+ * @param mcsEvaluateDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/evaluate/add")
+ R addMcsEvaluate(@RequestBody McsEvaluateDTO mcsEvaluateDTO);
+
+ /**
+ * 我的评价-参与游戏列表
+ * @param pageJoinGameListDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/joinGame/page")
+ R getJoinGameList(@RequestBody PageJoinGameListDTO pageJoinGameListDTO);
+
+ /**
+ * 戳戳卷核销
+ * @param couponId
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/coupon/verify")
+ R verifyMcsCoupon(@RequestParam("couponId") Long couponId, @RequestParam("userId") Long userId);
+
+ /**
+ * 分页查询核销记录
+ * @param pageVerifyRecordDTO
+ * @return
+ */
+ @PostMapping("/microcommercialstreet/verifyRecord/page")
+ R pageMcsVerifyRecord(@RequestBody PageVerifyRecordDTO pageVerifyRecordDTO);
+
+ /**
+ * 游戏统计
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/game/statistics")
+ R getMcsGameStatistics(@RequestParam("userId") Long userId);
+
+ /**
+ * 修改用戶信息
+ * @param putUserInfoDTO
+ * @return
+ */
+ @PutMapping("/microcommercialstreet/putUserInfo")
+ R putUserInfo(@RequestBody PutUserInfoDTO putUserInfoDTO);
+
+ /**
+ * 根据userId获取商家信息
+ * @param userId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/retrieveMcsMerchantInfoByUserId")
+ R retrieveMcsMerchantInfoByUserId(@RequestParam("userId") Long userId);
+
+ /**
+ * 定时任务-每隔5分钟执行一次,将已到期的微商业街商家旗下所有的游戏/资讯全部下架
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/offResourceForMcsMerchant")
+ R offResourceForMcsMerchant();
+
+ /**
+ * 获取产品信息详情
+ * @param productId
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/product/get")
+ R getMcsProduct(@RequestParam("productId") Long productId);
+
+ /**
+ * 定时任务-每隔5分钟执行一次,将已到期的微商业街游戏结束
+ * @return
+ */
+ @GetMapping("/microcommercialstreet/endStatusForMcsGame")
+ R endStatusForMcsGame();
+
+ @GetMapping("/reserve/record/delete")
+ R deleteRecord(@RequestParam("recordId")Long recordId);
+
+ /**
+ * 历史数据人员类型填充
+ * @param newVoList
+ * @param communityId
+ * @param userId
+ * @return
+ */
+ @PostMapping("/common/data/history/filled")
+ R filledPopulationPersonType(@RequestBody List<ComMngPopulationServeExcelVO> newVoList,
+ @RequestParam("communityId") Long communityId, @RequestParam("userId") Long userId);
+
+ /**
+ * 根据小区id查询楼栋列表
+ * @param villageId 小区id
+ * @return 查询楼栋列表
+ */
+ @GetMapping("/building/getBuildListByVillageId")
+ R getBuildListByVillageId(@RequestParam(value = "villageId") Long villageId);
}
--
Gitblit v1.7.1