From 4791fee4e748b9eabfee2355487e9b29d1ed0af3 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期四, 18 十一月 2021 12:09:55 +0800 Subject: [PATCH] 物业宣传相关代码提交 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 75 +++++++++++++++++++++++++++++++++++++ 1 files changed, 75 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 7754166..c0b73fe 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 @@ -7200,4 +7200,79 @@ */ @PostMapping("/reserve/admin/register/homeQuarantine/page") R pageRegisterHomeQuarantine(PageReserveRegisterDetailedAdminDTO detailedAdminDTO); + + /** + * 分页查询物业宣传 + * @param pageComPropertyPublicityDTO + * @return + */ + @PostMapping("/property/publicity/page") + R pageComPropertyPublicity(@RequestBody PageComPropertyPublicityDTO pageComPropertyPublicityDTO); + + /** + * 新增物业宣传 + * @param comPropertyPublicityDTO + * @return + */ + @PostMapping("/property/publicity/add") + R addComPropertyPublicity(@RequestBody ComPropertyPublicityDTO comPropertyPublicityDTO); + + /** + * 修改物业宣传 + * @param comPropertyPublicityDTO + * @return + */ + @PostMapping("/property/publicity/update") + R updateComPropertyPublicity(@RequestBody ComPropertyPublicityDTO comPropertyPublicityDTO); + + /** + * 查看物业宣传信息 + * @param id + * @return + */ + @GetMapping("/property/publicity/get") + R getComPropertyPublicity(@RequestParam("id") Long id); + + /** + * 删除物业宣传 + * @param id + * @return + */ + @DeleteMapping("/property/publicity/delete") + R deleteComPropertyPublicity(@RequestParam("id") Long id); + + /** + * 物业公司列表 + * + * @param villageId + * @param communityId + * @return + */ + @GetMapping("/property/publicity/list/property") + R listProperty(@RequestParam(value = "villageId", required = false) Long villageId, @RequestParam("communityId") Long communityId); + + /** + * 小区列表 + * @param propertyId + * @param communityId + * @return + */ + @GetMapping("/property/publicity/list/village") + R listVillage(@RequestParam(value = "propertyId",required = false) Long propertyId, @RequestParam("communityId") Long communityId); + + /** + * 分页查询物业宣传-小程序 + * @param pageComPropertyPublicityDTO + * @return + */ + @PostMapping("/property/publicity/page/applet") + R pageComPropertyPublicityApplet(@RequestBody PageComPropertyPublicityDTO pageComPropertyPublicityDTO); + + /** + * 增加物业宣传浏览量 + * @param id + * @return + */ + @GetMapping("/property/publicity/incr-view") + R incrPropertyPublicityView(@RequestParam("id") Long id); } -- Gitblit v1.7.1