From f1bcbc43e988d0d1a91bea66a9ebbf6d601e48c0 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期四, 13 十月 2022 10:33:19 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 63 ++++++++++++++++++++++++++++--- 1 files changed, 56 insertions(+), 7 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..cb43e2d 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; @@ -1282,7 +1280,7 @@ * @return */ @PostMapping("listadvertisement") - R listAdvertisement(); + R listAdvertisement(@RequestParam("type") Integer type); /** * 新增广告 @@ -9696,6 +9694,9 @@ @PostMapping("/comActAcidRecord/export") R exportComActAcidRecord(@RequestBody ComActAcidRecordDTO comActAcidRecordDTO); + @GetMapping("/comActAcidRecord/checkCommit") + R checkCommit(@RequestParam(value = "userId",required = false)Long userId); + /** * 5项常规统计 @@ -10429,7 +10430,7 @@ * 小程序获取可选择专家列表 * */ @GetMapping("/sanshuo/expert/appletsList") - R expertAppList(); + R expertAppList(@RequestParam (value = "type",required = false)Integer type,@RequestParam(value = "id",required = false)Long id); /** * 获取专家详情 @@ -10461,13 +10462,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 +10485,52 @@ @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); + + /** + * 是否有绑定手机号码的专家账号 + * */ + @GetMapping("/sanshuo/expert/checkExpert") + R isExpert(@RequestParam(value = "number",required = false) String number); } -- Gitblit v1.7.1