From 78a900b916f9007e45d45355d6e1de21eb71147e Mon Sep 17 00:00:00 2001 From: 罗yu 元桥 <2376770955@qq.com> Date: 星期四, 29 四月 2021 13:45:45 +0800 Subject: [PATCH] Merge branch 'test' into 'master' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 110 insertions(+), 0 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 2f5d2c0..d0590d5 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 @@ -5,6 +5,11 @@ import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO; import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO; import com.panzhihua.common.model.dtos.community.*; +import com.panzhihua.common.model.dtos.neighbor.*; +import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAdminDTO; +import com.panzhihua.common.model.dtos.neighbor.AddComActNeighborCircleAppDTO; +import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAppDTO; +import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleDetailAppDTO; import com.panzhihua.common.model.dtos.shop.PageComShopOrderSearchDTO; import com.panzhihua.common.model.dtos.shop.*; import com.panzhihua.common.model.dtos.shop.PageComShopGoodsDTO; @@ -1648,6 +1653,14 @@ @PostMapping("/common/data/population/detail") R detailPopulation(@RequestParam(value = "populationId") Long populationId); + /** + * 根据id查询实有人口电子档案信息 + * @param populationId 实有人口id + * @return 实有人口电子档信息 + */ + @PostMapping("/common/data/population/electronicArchives") + R electronicArchivesPopulation(@RequestParam(value = "populationId") Long populationId); + /** * 根据id修改实有人口标签列表 @@ -2230,4 +2243,101 @@ @PostMapping("/delectworkguide") R delectWorkGuide(@RequestParam("workGuideId") Long workGuideId); + /** + * 分页查询邻里圈 + * @param neighborCircleAppDTO 请求参数 + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/pageNeighborByApp") + R pageNeighborByApp(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO); + + /** + * 用户发布邻里圈审核 + * @param addNeighborCircleAppDTO 邻里圈请求参数 + * @return 发布结果 + */ + @PostMapping("/neighbor/addNeighborByApp") + R addNeighborByApp(@RequestBody AddComActNeighborCircleAppDTO addNeighborCircleAppDTO); + + /** + * 用户查看邻里圈详情 + * @param neighborCircleAppDTO 请求参数 + * @return 邻里圈详情 + */ + @PostMapping("/neighbor/neighborDetailByApp") + R neighborDetailByApp(@RequestBody ComActNeighborCircleDetailAppDTO neighborCircleAppDTO); + + /** + * 管理后台查询邻里圈列表 + * @param comActNeighborCircleAdminDTO 请求参数 + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/pageNeighborByAdmin") + R pageNeighborByAdmin(@RequestBody ComActNeighborCircleAdminDTO comActNeighborCircleAdminDTO); + + + /** + * 后台修改邻里圈 + * @param comActNeighborCircleAdminDTO 请求参数 + */ + @PostMapping("/neighbor/changeStatusByAdmin") + R changeStatusByAdmin(@RequestBody ComActNeighborCircleAdminDTO comActNeighborCircleAdminDTO); + + + /** + * 后台修改邻里圈 + * @param id 邻里圈id + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/deleteByAdmin") + R deleteByAdmin(@RequestParam("id")Long id); + + + /** + * 用户查询邻里圈列表 + * @param neighborCircleAppDTO 请求参数 + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/neighborExamineByApp") + R neighborExamineByApp(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO); + + /** + * 邻里圈点赞 + * @param fabulousAppDTO 请求参数 + * @return 点赞结果 + */ + @PostMapping("/neighbor/neighborFabulousByApp") + R neighborFabulousByApp(@RequestBody ComActNeighborFabulousAppDTO fabulousAppDTO); + + /** + * 邻里圈转发 + * @param forwardAppDTO 请求参数 + * @return 转发结果 + */ + @PostMapping("/neighbor/neighborForwardByApp") + R neighborForwardByApp(@RequestBody ComActNeighborForwardAppDTO forwardAppDTO); + + /** + * 邻里圈评论 + * @param commentAppDTO 请求参数 + * @return 评论结果 + */ + @PostMapping("/neighbor/neighborCommentByApp") + R neighborCommentByApp(@RequestBody ComActNeighborCommentAppDTO commentAppDTO); + + /** + * 邻里圈回复 + * @param replyAppDTO 请求参数 + * @return 回复结果 + */ + @PostMapping("/neighbor/neighborReplyByApp") + R neighborReplyByApp(@RequestBody ComActNeighborReplyAppDTO replyAppDTO); + + /** + * 定时任务更新邻里圈近3天评论数/点赞数/浏览量 + * @return 执行结果 + */ + @PostMapping("/neighbor/timeTaskCircleFlow") + R timedTaskNeighborCircleRecord(); + } -- Gitblit v1.7.1