From ffb18ccfe6750f4a65bce6e02e7f6edb54a5d76f Mon Sep 17 00:00:00 2001 From: manailin <261030956@qq.com> Date: 星期六, 24 九月 2022 23:45:38 +0800 Subject: [PATCH] [修改] 三说代码事件流程代码提交 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 50 +++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 45 insertions(+), 5 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 de98158..43e3c43 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 @@ -13,9 +13,7 @@ import com.panzhihua.common.model.dtos.community.dpc.PageDpcDTO; import com.panzhihua.common.model.dtos.community.enterprise.*; import com.panzhihua.common.model.dtos.community.reserve.*; -import com.panzhihua.common.model.dtos.community.sanshuo.ComSanShuoIndustryCenterDTO; -import com.panzhihua.common.model.dtos.community.sanshuo.ComSanshuoEventDTO; -import com.panzhihua.common.model.dtos.community.sanshuo.ComSanshuoExpertDTO; +import com.panzhihua.common.model.dtos.community.sanshuo.*; import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto; @@ -10461,13 +10459,13 @@ * 新增事件类型 * */ @PostMapping("/sanshuo/event") - R addEvent(@RequestBody ComSanshuoEventDTO comSanshuoEventDTO); + R addEvent(@RequestBody ComMediateTypeDTO comSanshuoEventDTO); /** * 新增事件类型 * */ @PutMapping("/sanshuo/event") - R updateEvent(@RequestBody ComSanshuoEventDTO comSanshuoEventDTO); + R updateEvent(@RequestBody ComMediateTypeDTO comSanshuoEventDTO); /** * 删除事件类型 @@ -10484,4 +10482,46 @@ @GetMapping("/sanshuo/expert/expertRange") R expertRange(); + + /** + * 大屏事件统计 + * */ + @PostMapping("/sanshuo/comEvent/indexData") + R sanshuoIndexDate(IndexDateDTO indexDateDTO); + + /** + * 事件占比统计饼图 + * */ + @GetMapping("sanshuo/comEvent/indexData/event") + R eventIndexData(@RequestParam("type") Integer type); + + /** + * 专家风采列表 + * */ + @GetMapping("/sanshuo/expert/expertShowList") + R expertShowList(@RequestParam(value = "level",required = false)Integer level,@RequestParam(value = "id",required = false)Long id); + + /** + * 修改街道信息 + * */ + @PostMapping("/updateStreet") + R updateStreet(@RequestBody ComStreetVO comStreetVO); + + /** + * 删除街道 + * */ + @GetMapping("/removeStreet") + R removeStreet(@RequestParam(value = "id",required = false)Long id); + + /*** + * 删除社区 + * */ + @GetMapping("/removeCommunity") + R removeCommunity(@RequestParam(value = "id",required = false)Long id); + + @PostMapping("/repassCommunity") + R repassCommunity(@RequestBody ComActVO comActVO); + + @PostMapping("/repassStreet") + R repassStreet(@RequestBody ComStreetVO comActVO); } -- Gitblit v1.7.1