From c92c380b8f29ad485024d3d1948d0d0fce56b0d6 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期三, 13 四月 2022 20:48:47 +0800 Subject: [PATCH] 党员双报到,问题清单,需求清单,资源清单接口开发 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 70 ++++++++++++++++++++++++++++------ 1 files changed, 57 insertions(+), 13 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 aa775a1..492d3f3 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,7 @@ import com.panzhihua.common.model.dtos.PageBaseDTO; import com.panzhihua.common.model.dtos.civil.*; import com.panzhihua.common.model.dtos.common.*; +import com.panzhihua.common.model.dtos.community.reserve.*; import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; import com.panzhihua.common.model.dtos.community.*; @@ -26,6 +27,7 @@ import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO; import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordVO; import com.panzhihua.common.model.vos.community.raffle.ComActRaffleVO; +import com.panzhihua.common.model.vos.community.reserve.ComActReserveDangerAreaVO; import com.panzhihua.common.model.vos.community.social.*; import io.swagger.annotations.ApiOperation; import com.panzhihua.common.model.vos.community.*; @@ -233,18 +235,6 @@ 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; -import com.panzhihua.common.model.dtos.community.reserve.ComActReserveRegisterStatisticsDTO; -import com.panzhihua.common.model.dtos.community.reserve.EditComActReserveInfoDTO; -import com.panzhihua.common.model.dtos.community.reserve.EditComActReserveStatusDTO; -import com.panzhihua.common.model.dtos.community.reserve.EditReserveAdminDTO; -import com.panzhihua.common.model.dtos.community.reserve.MakeHandleAdminDTO; -import com.panzhihua.common.model.dtos.community.reserve.PageReserveAdminDTO; -import com.panzhihua.common.model.dtos.community.reserve.PageReserveMakeAdminDTO; -import com.panzhihua.common.model.dtos.community.reserve.PageReserveMakeHandleAdminDTO; -import com.panzhihua.common.model.dtos.community.reserve.PageReserveRegisterDetailedAdminDTO; import com.panzhihua.common.model.dtos.community.switchs.SearchCommunityDTO; import com.panzhihua.common.model.dtos.community.wallet.ComActWalletDetailDTO; import com.panzhihua.common.model.dtos.community.wallet.ComActWalletSettlementAdminDTO; @@ -5029,7 +5019,7 @@ * @return 邻里圈话题列表 */ @GetMapping("/neighbor/getNeighborTopicByApp") - R getNeighborTopicByApp(@RequestParam("communityId") Long communityId,@RequestParam("isZero") Integer isZero,@RequestParam("name") String name); + R getNeighborTopicByApp(@RequestParam("communityId") Long communityId,@RequestParam("isZero") Integer isZero,@RequestParam("name") String name,@RequestParam("belongType") Integer belongType); /** * 综治后台-查询社区列表 @@ -9505,4 +9495,58 @@ */ @PostMapping("/comActEasyPhotoHandler/edit") R editEasyPhotoHandler(@RequestBody EditComActEasyPhotoHandlerDto comActEasyPhotoHandler); + + @GetMapping("/reserve/fiveCount") + R fiveCount(@RequestParam("reserveId") Long reserveId); + + /** + * 分页查询所有数据 + * + * @param commonPage 查询实体 + * @return 所有数据 + */ + @PostMapping("/comActReserveDangerArea/queryAll") + R selectAllComActReserveDangerArea(@RequestBody CommonPage commonPage); + + /** + * 通过主键查询单条数据 + * + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("/comActReserveDangerArea/{id}") + R selectOneComActReserveDangerArea(@PathVariable("id") Long id); + + /** + * 修改数据 + * + * @param comActReserveDangerAreaVO 实体对象 + * @return 修改结果 + */ + @PostMapping("/comActReserveDangerArea/update") + R updateComActReserveDangerArea(@RequestBody ComActReserveDangerAreaVO comActReserveDangerAreaVO); + + /** + * 删除数据 + * + * @param id 主键结合 + * @return 删除结果 + */ + @GetMapping("/comActReserveDangerArea/del") + R deleteComActReserveDangerArea(@RequestParam("id") Long id); + + /** + * 风险区数据统计 + * @return + */ + @GetMapping("/comActReserveDangerArea/statics") + R staticsComActReserveDangerArea(); + + /** + * 批量设置起始时间 + * @param editDangerBatchDTO + * @return + */ + @PostMapping("/comActReserveDangerArea/updateBatch") + R updateBatchComActReserveDangerArea(@RequestBody EditDangerBatchDTO editDangerBatchDTO); } -- Gitblit v1.7.1