mitao
2025-05-20 179c4d64313c9b7572778da4aaaf6c6584fe457d
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -3,7 +3,7 @@
import java.util.Date;
import java.util.List;
import com.panzhihua.common.model.dtos.PageBaseDTO;
import com.panzhihua.common.model.dtos.*;
import com.panzhihua.common.model.dtos.community.*;
import com.panzhihua.common.model.dtos.community.acid.*;
import com.panzhihua.common.model.dtos.community.building.BuildingDto;
@@ -12,10 +12,13 @@
import com.panzhihua.common.model.dtos.community.dpc.EditDpcDTO;
import com.panzhihua.common.model.dtos.community.dpc.PageDpcDTO;
import com.panzhihua.common.model.dtos.community.enterprise.*;
import com.panzhihua.common.model.dtos.community.large.AreaStreetDetail;
import com.panzhihua.common.model.dtos.community.large.SumAreaStreetResp;
import com.panzhihua.common.model.dtos.community.reserve.*;
import com.panzhihua.common.model.dtos.community.sanshuo.*;
import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO;
import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto;
import com.panzhihua.common.model.dtos.partybuilding.QryReportResp;
import com.panzhihua.common.model.dtos.property.CommonPage;
import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO;
import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO;
@@ -52,8 +55,6 @@
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO;
import com.panzhihua.common.model.dtos.PageDTO;
import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO;
import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO;
import com.panzhihua.common.model.dtos.civil.ComActSocialWorkerAddDTO;
@@ -256,6 +257,7 @@
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
@@ -1521,6 +1523,16 @@
    @PostMapping("pagediscusscommentapplets")
    R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
    /**
     * 议事投票-评论-删除 小程序
     *
     *            分页参数
     * @return ComActDiscussCommentVO
     */
    @GetMapping("deleteCommentApplets")
    R deleteCommentApplets(@RequestParam("id") String id);
    /**
     * 议事投票-评论-分页查询 小程序 脱敏
     *
@@ -2708,7 +2720,7 @@
     * @return 问卷调查详情
     */
    @GetMapping("/questnaire/view/detail")
    R viewDetail(@RequestParam("userId") Long userId, @RequestParam("questId") Long questId);
    R viewDetail( @RequestParam("questId") Long questId,@RequestParam("userId") Long userId);
    /**
     * 小程序-新增问卷调查浏览数量
@@ -9953,12 +9965,28 @@
     * 单位活动统计
     */
    @GetMapping("/neighbor/activityAnalysis")
    R institutionalUnitServiceAnalysis(@RequestParam(value = "year",required = false) Integer year,@RequestParam(value = "type",required = false) Integer type,
                                       @RequestParam(value = "range",required = false)Integer range,@RequestParam(value = "communityId",required = false) Long communityId,
    R institutionalUnitServiceAnalysis(@RequestParam(value = "year",required = false) Integer year,
                                       @RequestParam(value = "type",required = false) Integer type,
                                       @RequestParam(value = "range",required = false)Integer range,
                                       @RequestParam(value = "communityId",required = false) Long communityId,
                                       @RequestParam(value = "page",required = false) Integer page,
                                       @RequestParam(value = "size",required = false) Integer size,
                                       @RequestParam(value = "belongTo",required = false) String  belongTo,
                                       @RequestParam(value = "unitId",required = false) Long unitId,@RequestParam(value = "loginAccount",required = false) String loginAccount);
                                       @RequestParam(value = "unitId",required = false) Long unitId,
                                       @RequestParam(value = "loginAccount",required = false) String loginAccount,
                                       @RequestParam(value = "searchContent",required = false) String searchContent);
    @GetMapping("/neighbor/export")
    public List<ExcelDO> export(@RequestParam(value = "year",required = false) Integer year,
                                @RequestParam(value = "belongTo",required = false) String belongTo,
                                @RequestParam(value = "communityId",required = false) Long communityId);
    @GetMapping("/neighbor/partyExcel")
    public List<PartyExcelDO> partyExcel(@RequestParam(value = "year",required = false) Integer year,
                                         @RequestParam(value = "belongTo",required = false) String belongTo,
                                         @RequestParam(value = "communityId",required = false) Long communityId,
                                         @RequestParam(value = "unitId",required = false) Long unitId);
    /**
     * 批量删除活动
     * @param ids
@@ -11874,5 +11902,50 @@
    @GetMapping("/largeScreen/probably")
    public R probably(@RequestParam("year") Integer year,@RequestParam("belongTo") String belongTo);
    /**
     * 查询 一标三实 数据
     */
    @GetMapping("/largeScreen/sumAreaStreet")
     R<SumAreaStreetResp> sumAreaStreet();
    /**
     *  下拉 明细
     */
    @GetMapping(("/largeScreen/areaStreetDetail"))
     R<AreaStreetDetail> areaStreetDetail(@RequestParam("code") String code,
                                          @RequestParam("type") String type);
    @GetMapping("/largeScreen/qryReport")
    R<List<QryReportResp>> qryReport(@RequestParam(value = "yearTime",required = false) String yearTime);
    /*****************************************************************************************************************
     *
     *                                         社区宣传
     *
     ******************************************************************************************************************/
    @GetMapping("/sys/conf/getCommunityPublicityData")
    public R getCommunityPublicityData(@RequestParam("communityId") String communityId);
    @PostMapping("/sys/conf/addCommunityPublicityDate")
    public R addCommunityPublicityDate(@RequestBody CommunityPublicityVO item);
    @PostMapping("/sys/conf/editCommunityPublicityDate")
    public R editCommunityPublicityDate(@RequestBody CommunityPublicityVO item);
    @DeleteMapping("/sys/conf/deleteCommunityPublicityData")
    public R deleteCommunityPublicityData(@RequestParam("communityId") String communityId);
    /**
     * 社区活动自动定时更新用户未签退时间
     * @return
     */
    @GetMapping("/comActAcidRecord/comActActRegistUpdateEndTime")
    public R comActActRegistUpdateEndTime();
}