Null
2021-03-20 003eb090f7c84cda124ebeff60ab8a6b82b1c09d
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -2,15 +2,17 @@
import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO;
import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO;
import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO;
import com.panzhihua.common.model.dtos.community.*;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
import com.panzhihua.common.model.vos.community.*;
import com.panzhihua.common.model.vos.user.UserPhoneVO;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
@@ -807,4 +809,467 @@
     */
    @PostMapping("putdiscusscommentuser")
    R putDiscussCommentUser(@RequestBody ComActDiscussCommentUserDTO comActDiscussUserDTO);
    /**
     * 分页查询广告
     * @param pageComOpsAdvDTO 查询内容
     * @return 查询结果 ComOpsAdvVO
     */
    @PostMapping("pageadvertisement")
    R pageAdvertisement(@RequestBody PageComOpsAdvDTO pageComOpsAdvDTO);
    /**
     * 广告详情
     * @param id 主键
     * @return 广告内容
     */
    @PostMapping("detailadvertisement")
    R detailAdvertisement(@RequestParam("id") Long id);
    /**
     * 删除广告
     * @param id 主键
     * @return 删除结果
     */
    @PostMapping("deleteadvertisement")
    R deleteAdvertisement(@RequestParam("id")Long id);
    /**
     * 查询城市下属所有地区列表
     * @param cityAdcode 城市地址编码
     * @return 地区列表
     */
    @PostMapping("listareadistrict")
    R listAreaDistrict(@RequestParam("cityAdcode") Long cityAdcode);
    /**
     * 首页图表数据汇总
     * @param communityId 社区id
     * @return 图表数据
     */
    @PostMapping("indexdatacommunitybackstageechart")
    R indexDataCommunityBackstageEchart(@RequestParam("communityId")Long communityId);
    /**
     * 选择导入的小区
     * @param param 小区名字 模糊查询
     * @param communityId 社区id
     * @return 小区集合 ComMngStructAreaVO
     */
    @PostMapping("listareas")
    R listAreas(@RequestParam("param")String param, @RequestParam("communityId")Long communityId);
    /**
     * 检查小区是否已经批量设置过房屋并且返回小区房屋门号规则
     * @param id 小区id
     * @return ComMngStructAreaVO
     */
    @PostMapping("checkAreaHouse")
    R checkAreaHouse(@RequestParam("id")Long id);
    /**
     * 新增留言
     * @param comActMessageVO 新增留言信息
     * @return 发布结果
     */
    @PostMapping("addmessage")
   R addMessage(@RequestBody ComActMessageVO comActMessageVO);
    /**
     * 我的留言
     * @param comActMessageVO 留言信息
     * @return 发布结果
     */
    @PostMapping("pagemymessage")
   R pageMyMessageApplets(@RequestBody ComActMessageVO comActMessageVO);
    /**
     * 给我的留言
     * @param comActMessageVO 留言信息
     * @return 发布结果
     */
    @PostMapping("pagesendtomemessage")
   R pageSendToMessageApplets(@RequestBody ComActMessageVO comActMessageVO);
    /**
     * 新增留言回复
     * @param comActMessageBackVO 保存留言回复信息
     * @return 发布结果
     */
    @PostMapping("addmessageback")
   R addMessageBack(@RequestBody ComActMessageBackVO comActMessageBackVO);
    /**
     * 根据id查询留言列表
     * @param id 用户id
     * @return 发布结果
     */
    @PostMapping("pagemessagebyuser")
   R pageMessageByUser(@RequestBody ComActMessageVO comActMessageVO);
    /**
     * 根据id删除留言
     * @param id id
     * @return 删除结果
     */
    @PostMapping("deletemessage")
   R deleteMessage(@RequestBody ComActMessageVO comActMessageVO);
    /**
     * 根据id集合批量设置是否公开
     * @param ids id集合
     * @return 删除结果
     */
    @PostMapping("resetmessagepublic")
   R resetMessagePublic(@RequestBody ResetComActMessageVO resetComActMessageVO);
    /**
     * 分页显示社区所有留言
     * @param comActMessageVO 留言信息
     * @return 结果集合
     */
    @PostMapping("pagemycommunitymessage")
   R pageMyCommunityMessage(@RequestBody ComActMessageVO comActMessageVO);
    /**
     * 根据id查找留言详情
     * @param id
     * @return
     */
    @PostMapping("detailmessage")
   R detailMessage(@RequestParam("id")Long id);
    /**
     * 小程序通过便民服务区域分页查询便民服务商家
     * @param comCvtBusinessAppletsDTO 查询参数
     * @return 返回结果
     */
    @PostMapping("/convenient/business/area/page")
    R pageComCvtBusinessByServiceArea(@RequestBody PageComCvtBusinessAppletsDTO comCvtBusinessAppletsDTO);
    /**
     * 一起议-新增
     * @param comOpsHouseDTO 新增参数
     * @return 新增结果
     */
    @PostMapping("addOpsHouse")
    R addOpsHouse(@RequestBody ComOpsHouseDTO comOpsHouseDTO);
    /**
     * 一起议-详情
     * @param id 主键
     * @return ComOpsHouseVO
     */
    @PostMapping("detailOpsHouse")
    R detailOpsHouse(@RequestParam("id") Long id);
    @PostMapping("/putOpsHouse")
    R putOpsHouse(@RequestBody ComOpsHouseVO comOpsHouseVO);
    /**
     * 一起议-删除
     * @param id 主键
     * @return 删除结果
     */
    @PostMapping("deleteOpsHouse")
    R deleteOpsHouse(@RequestParam("id") Long id);
    /**
     * 一起议-分页查询
     * @param pageComOpsHouseDTO 查询参数
     * @return ComOpsHouseVO
     */
    @PostMapping("pageOpsHouse")
    R pageOpsHouse(@RequestBody PageComOpsHouseDTO pageComOpsHouseDTO);
    /**
     * 社区后台分页查询便民服务商家
     * @param pageComCvtBusinessDTO 查询参数
     * @return 返回结果
     */
    @PostMapping("/convenient/business/page")
    R pageComCvtBusiness(@RequestBody PageComCvtBusinessDTO pageComCvtBusinessDTO);
    /**
     * 添加便民服务商家信息
     * @param comCvtBusinessDTO
     * @return
     */
    @PostMapping("/convenient/business/add")
    R addComCvtBusiness(ComCvtBusinessDTO comCvtBusinessDTO);
    /**
     * 编辑便民服务商家
     *
     * @param comCvtBusinessDTO 商家参数
     * @return 返回结果
     */
    @PutMapping("/convenient/business/put")
    R putComCvtBusiness(@RequestBody ComCvtBusinessDTO comCvtBusinessDTO);
    /**
     * 查询便民服务商家详情
     *
     * @param id 商家主键
     * @return 返回结果
     */
    @GetMapping("/convenient/business/get")
    R getComCvtBusiness(@RequestParam("id") Long id);
    /**
     * 删除便民服务商家信息
     *
     * @param id 商家主键
     * @return 返回结果
     */
    @DeleteMapping("/convenient/business/delete")
    R deleteComCvtBusiness(@RequestParam("id") Long id);
    /**
     * 社区后台分页查询便民服务分类
     *
     * @param pageComCvtCategoryDTO 查询参数
     * @return 返回结果
     */
    @PostMapping("/convenient/category/page")
    R pageComCvtCategory(@RequestBody PageComCvtCategoryDTO pageComCvtCategoryDTO);
    /**
     * 社区后台分页查询便民服务分类
     *
     * @return 返回结果
     */
    @PostMapping("/convenient/category/all")
    R allComCvtCategory();
    /**
     * 新增便民服务分类
     *
     * @param comCvtCategoryDTO 分类参数
     * @return 返回结果
     */
    @PostMapping("/convenient/category/add")
    R addComCvtCategory(@RequestBody ComCvtCategoryDTO comCvtCategoryDTO);
    /**
     * 编辑便民服务分类
     *
     * @param comCvtCategoryDTO 分类参数
     * @return 返回结果
     */
    @PutMapping("/convenient/category/put")
    R putComCvtCategory(@RequestBody ComCvtCategoryDTO comCvtCategoryDTO);
    /**
     * 查询便民服务分类详情
     *
     * @param id 分类主键
     * @return 返回结果
     */
    @GetMapping("/convenient/category/get")
    R getComCvtCategory(@RequestParam("id") Long id);
    /**
     * 删除便民服务分类信息
     *
     * @param id 分类主键
     * @return 返回结果
     */
    @DeleteMapping("/convenient/category/delete")
    R deleteComCvtCategory(@RequestParam("id") Long id);
    /**
     * 社区后台分页查询便民服务
     *
     * @param pageComCvtServeDTO 查询参数
     * @return 返回结果
     */
    @PostMapping("/convenient/serve/page")
    R pageComCvtServe(@RequestBody PageComCvtServeDTO pageComCvtServeDTO);
    /**
     * 新增便民服务
     *
     * @param comCvtServeDTO 参数
     * @return 返回结果
     */
    @PostMapping("/convenient/serve/add")
    R addComCvtServe(@RequestBody ComCvtServeDTO comCvtServeDTO);
    /**
     * 编辑便民服务
     *
     * @param comCvtServeDTO 分类参数
     * @return 返回结果
     */
    @PutMapping("/convenient/serve/put")
    R putComCvtServe(@RequestBody ComCvtServeDTO comCvtServeDTO);
    /**
     * 查询便民服务详情
     *
     * @param id 服务主键
     * @return 返回结果
     */
    @GetMapping("/convenient/serve/get")
    R getComCvtServe(@RequestParam("id") Long id);
    /**
     * 删除便民服务信息
     *
     * @param id 服务主键
     * @return 返回结果
     */
    @DeleteMapping("/convenient/serve/delete")
    R deleteComCvtServe(@RequestParam("id") Long id);
    /**
     * 小程序便民服务商家详情
     * @param id 商家ID
     * @return
     */
    @GetMapping("/convenient/business/serve/get")
    R getComCvtBusinessServeDetail(@RequestParam("id")Long id);
    /**
     * 批量导入便民服务
     * @param list 便民服务集合
     */
    @PostMapping("/convenient/serve/import")
    R listSaveConvenientServeExcelVO(@RequestBody List<ComCvtServeExcelVO> list,@RequestParam("communityId") Long communityId);
    /**
     * 导出房屋信息
     * @param areaId
     * @return
     */
    @PostMapping("/house/export")
    R houseExport(@RequestParam("areaId") Long areaId);
    /**
     * 小程序添加车辆信息
     * @param comCvtBusinessDTO
     * @return
     */
    @PostMapping("/common/data/car/user/register")
    R addComMngCarApplet(@RequestBody ComMngCarAppletDTO comCvtBusinessDTO);
    /**
     * 小程序用户登记车辆列表
     * @param userId
     * @return
     */
    @GetMapping("/common/data/car/user/list")
    R userComMngCarList(@RequestParam("userId") Long userId);
    @PostMapping("/common/data/car/page")
    R pageQueryComMngCar(@RequestBody PageComMngCarDTO pageComMngCarDTO);
    @PostMapping("/common/data/car/save")
    R saveComMngCar(@RequestBody ComMngCarSaveDTO comMngCarSaveDTO);
    /**
     * 删除车辆信息
     * @param id
     * @return
     */
    @DeleteMapping("/common/data/car/delete")
    R deleteComMngCar(@RequestParam(value = "id") Long id);
    /**
     * 批量导入便民服务
     * @param list 便民服务集合
     */
    @PostMapping("/common/data/car/import")
    R listSaveMngCarExcelVO(@RequestBody List<ComMngCarExcelVO> list,@RequestParam("communityId") Long communityId);
    /**
     * 社区后台实有单位管理列表
     * @param pageComMngRealCompanyDTO
     * @return
     */
    @PostMapping("/common/data/company/page")
    R pageQueryComMngRealCompany(@RequestBody PageComMngRealCompanyDTO pageComMngRealCompanyDTO);
    /**
     * 社区后台添加修改实有单位
     * @param comMngRealCompanyVO
     * @return
     */
    @PostMapping("/common/data/company/save")
    R saveComMngRealCompany(@RequestBody ComMngRealCompanyVO comMngRealCompanyVO);
    /**
     * 社区后台删除实有单位
     * @param id
     * @return
     */
    @DeleteMapping("/common/data/company/delete")
    R deleteComMngRealCompany(@RequestParam(value = "id") Long id);
    /**
     * 实有单位详情
     * @param id
     * @return
     */
    @GetMapping("/common/data/company/save")
    R detailComMngRealCompany(@RequestParam(value = "id") Long id);
    /**
     * 批量导入实有单位
     * @param list 实有单位集合
     */
    @PostMapping("/common/data/company/import")
    R listSaveMngRealCompanyExcelVO(@RequestBody List<ComMngRealCompanyExcelVO> list,@RequestParam("communityId") Long communityId);
    /**
     * 实有单位导出
     * @param exportRealCompanyExcelDTO
     * @return
     */
    @PostMapping("/common/data/company/export")
    R exportRealCompany(ExportRealCompanyExcelDTO exportRealCompanyExcelDTO);
    /**
     * 社区后台实有单位管理列表
     * @param pageComMngRealAssetsDTO
     * @return
     */
    @PostMapping("/common/data/assets/page")
    R pageQueryComMngRealAssets(@RequestBody PageComMngRealAssetsDTO pageComMngRealAssetsDTO);
    /**
     * 社区后台添加修改实有单位
     * @param comMngRealAssetsVO
     * @return
     */
    @PostMapping("/common/data/assets/save")
    R saveComMngRealAssets(@RequestBody ComMngRealAssetsVO comMngRealAssetsVO);
    /**
     * 社区后台删除实有单位
     * @param id
     * @return
     */
    @DeleteMapping("/common/data/assets/delete")
    R deleteComMngRealAssets(@RequestParam(value = "id") Long id);
    /**
     * 实有单位详情
     * @param id
     * @return
     */
    @GetMapping("/common/data/assets/detail")
    R detailComMngRealAssets(@RequestParam(value = "id") Long id);
    /**
     * 批量导入实有单位
     * @param list 实有单位集合
     */
    @PostMapping("/common/data/assets/import")
    R listSaveMngRealAssetsExcelVO(@RequestBody List<ComMngRealAssetsExcelVO> list,@RequestParam("communityId") Long communityId);
    /**
     * 实有单位导出
     * @param exportRealAssetsExcelDTO
     * @return
     */
    @PostMapping("/common/data/assets/export")
    R exportRealAssets(ExportRealAssetsExcelDTO exportRealAssetsExcelDTO);
}