| | |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.*; |
| | | import com.panzhihua.common.model.dtos.neighbor.*; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | |
| | | import com.panzhihua.common.model.dtos.grid.admin.ComMngVillageListExportAdminDTO; |
| | | import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationDTO; |
| | | import com.panzhihua.common.model.dtos.grid.admin.PageComMngVillagePopulationHouseDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.AddComActNeighborCircleAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.AddNeighborCircleTopicAdminDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborAddBrowseAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAdminDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleDetailAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleTopicAdminDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCommentAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCommentReplyAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborFabulousAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborForwardAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.ComActNeighborReplyAppDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.DetailNeighborAllCommentByAdminDTO; |
| | | import com.panzhihua.common.model.dtos.neighbor.DetailNeighborCommentReplyByAdminDTO; |
| | | import com.panzhihua.common.model.dtos.shop.ComShopAddressDTO; |
| | | import com.panzhihua.common.model.dtos.shop.ComShopCartDTO; |
| | | import com.panzhihua.common.model.dtos.shop.ComShopEditNubCartDTO; |
| | |
| | | */ |
| | | @PostMapping("/convenient/serve/import") |
| | | R listSaveConvenientServeExcelVO(@RequestBody List<ComCvtServeExcelVO> list, |
| | | @RequestParam(value = "communityId", required = false) Long communityId); |
| | | @RequestParam(value = "communityId", required = false) Long communityId); |
| | | |
| | | /** |
| | | * 导出房屋信息 |
| | |
| | | */ |
| | | @PostMapping("/common/data/company/import") |
| | | R listSaveMngRealCompanyExcelVO(@RequestBody List<ComMngRealCompanyExcelVO> list, |
| | | @RequestParam("communityId") Long communityId); |
| | | @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 实有单位导出 |
| | |
| | | */ |
| | | @PostMapping("/common/data/assets/import") |
| | | R listSaveMngRealAssetsExcelVO(@RequestBody List<ComMngRealAssetsExcelVO> list, |
| | | @RequestParam("communityId") Long communityId); |
| | | @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 实有单位导出 |
| | |
| | | */ |
| | | @PostMapping("/village/import") |
| | | R listSaveVillageServeExcelVO(@RequestBody List<ComMngVillageServeExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId); |
| | | @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 批量导入实有人口 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/import") |
| | | R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入吸毒人员 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importDrug") |
| | | R listSavePopulationDrugExcelVO(@RequestBody List<ComMngPopulationDrugExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入社区矫正人员 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importCorrect") |
| | | R listSavePopulationCorrectExcelVO(@RequestBody List<ComMngPopulationCorrectExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入重精人员 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importMajor") |
| | | R listSavePopulationMajorExcelVO(@RequestBody List<ComMngPopulationMajorExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入邪教人员 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importCult") |
| | | R listSavePopulationCultExcelVO(@RequestBody List<ComMngPopulationCultExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入刑释人员 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importRehabilitation") |
| | | R listSavePopulationRehabilitationExcelVO(@RequestBody List<ComMngPopulationRehabilitationExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入重点上访人员 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importKey") |
| | | R listSavePopulationKeyExcelVO(@RequestBody List<ComMngPopulationKeyExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入服刑人员 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importSentence") |
| | | R listSavePopulationSentenceExcelVO(@RequestBody List<ComMngPopulationSentenceExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入退役军人 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importVeterans") |
| | | R listSavePopulationVeteransExcelVO(@RequestBody List<ComMngPopulationVeteransExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入残疾人 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importDisability") |
| | | R listSavePopulationDisabilityExcelVO(@RequestBody List<ComMngPopulationDisabilityExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 批量导入低保户 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/importLowSecurity") |
| | | R listSavePopulationLowSecurityExcelVO(@RequestBody List<ComMngPopulationLowSecurityExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | @RequestParam(value = "communityId") Long communityId, @RequestParam(value = "userId") Long userId); |
| | | |
| | | /** |
| | | * 确认导入实有人口(有则更新,无则新建) |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/import/confirm") |
| | | R listSavePopulationConfirm(@RequestBody List<ComMngPopulationServeExcelVO> list, |
| | | @RequestParam(value = "communityId") Long communityId); |
| | | @RequestParam(value = "communityId") Long communityId); |
| | | |
| | | /** |
| | | * 分页查询实有人口 |
| | |
| | | |
| | | /** |
| | | * 小程序-问卷调查详情 |
| | | * |
| | | * |
| | | * @param userId |
| | | * 用户id |
| | | * @param questId |
| | |
| | | |
| | | /** |
| | | * 小程序-新增问卷调查浏览数量 |
| | | * |
| | | * |
| | | * @param questId |
| | | * 问卷调查id |
| | | * @return 增加结果 |
| | |
| | | |
| | | /** |
| | | * 小程序-用户弹窗添加不在提醒接口 |
| | | * |
| | | * |
| | | * @param questId |
| | | * 问卷id |
| | | * @param userId |
| | |
| | | |
| | | /** |
| | | * 社区后台-查询问卷调查详情 |
| | | * |
| | | * |
| | | * @param questId |
| | | * 问卷id |
| | | * @return 问卷调查详情 |
| | |
| | | */ |
| | | @PostMapping("/common/data/population/edit") |
| | | R editPopulation(@RequestBody ComMngPopulationEditDTO populationEditDTO, |
| | | @RequestParam("communityId") Long communityId); |
| | | @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 微心愿删除 |
| | |
| | | */ |
| | | @PostMapping("/eldersauthelderly/batchSave") |
| | | R listSaveEldersAuthElderlyExcelVO(@RequestBody List<EldersAuthElderlyExcelVO> newVoList, |
| | | @RequestParam("communityId") Long communityId, @RequestParam("createBy") Long createBy); |
| | | @RequestParam("communityId") Long communityId, @RequestParam("createBy") Long createBy); |
| | | |
| | | /** |
| | | * 批量保存楼栋 |
| | |
| | | */ |
| | | @PostMapping("/building/batchSave") |
| | | R listSaveBuildingExcelVO(@RequestBody List<ComMngBuildingExcelVO> newVoList, |
| | | @RequestParam("communityId") Long communityId); |
| | | @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 插入字典 |
| | |
| | | */ |
| | | @PostMapping("/bigscreen/party/ageGender") |
| | | R<BigScreenStatisticAgeGender> |
| | | ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO); |
| | | ageGender(@RequestBody BigScreenStatisticAgeGenderDTO bigScreenStatisticAgeGenderDTO); |
| | | |
| | | /** |
| | | * 党建数据概览 |
| | |
| | | */ |
| | | @PostMapping("/bigscreen/party/bigscreenPartyactivity") |
| | | R<List<BigScreenStatisticPartyActivity>> |
| | | bigscreenPartyactivity(BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO); |
| | | bigscreenPartyactivity(BigScreenStatisticPartyActivityDTO bigScreenStatisticPartyActivityDTO); |
| | | |
| | | /** |
| | | * 首页大屏统计接口 |
| | |
| | | |
| | | /** |
| | | * 查询用户交易记录总额 |
| | | * |
| | | * |
| | | * @param pageTradeAdminDTO |
| | | * 请求参数 |
| | | * @return 交易记录总额 |
| | |
| | | |
| | | /** |
| | | * 查询用户导出数据 |
| | | * |
| | | * |
| | | * @param pageTradeAdminDTO |
| | | * 请求参数 |
| | | * @return 用户导出数据 |
| | |
| | | |
| | | /** |
| | | * 导出奖励台账数据 |
| | | * |
| | | * |
| | | * @param pageTradeAdminDTO |
| | | * 请求参数 |
| | | * @return 奖励台账数据 |
| | |
| | | |
| | | /** |
| | | * 查询社区统计数据 |
| | | * |
| | | * |
| | | * @param pageTradeAdminDTO |
| | | * 查询社区统计数据 |
| | | * @return 社区统计数据 |
| | |
| | | |
| | | /** |
| | | * 社区随手拍列表统计 |
| | | * |
| | | * |
| | | * @param communityId |
| | | * 社区id |
| | | * @return 统计结果 |
| | |
| | | * @return 邻里圈话题列表 |
| | | */ |
| | | @GetMapping("/neighbor/getNeighborTopicByApp") |
| | | R getNeighborTopicByApp(@RequestParam("communityId") Long communityId); |
| | | R getNeighborTopicByApp(@RequestParam("communityId") Long communityId,@RequestParam("isZero") Integer isZero); |
| | | |
| | | /** |
| | | * 综治后台-查询社区列表 |
| | |
| | | */ |
| | | @GetMapping("/patrolRecord/safetyWorkRecord/detail") |
| | | R detailSafetyWorkRecord(@RequestParam(value = "safetyWorkRecordId") Long safetyWorkRecordId, |
| | | @RequestParam(value = "communityId", required = false) Long communityId); |
| | | @RequestParam(value = "communityId", required = false) Long communityId); |
| | | |
| | | /** |
| | | * 根据巡查记录id查询安全工作记录详情 |
| | |
| | | */ |
| | | @GetMapping("/patrolRecord/safetyWorkRecord/detailByPrId") |
| | | R detailSafetyWorkRecordByPrId(@RequestParam(value = "patrolRecordId") Long patrolRecordId, |
| | | @RequestParam(value = "communityId", required = false) Long communityId); |
| | | @RequestParam(value = "communityId", required = false) Long communityId); |
| | | |
| | | /** |
| | | * 分页查询隐患报告 |
| | |
| | | |
| | | /** |
| | | * 小程序-查询积分说明 |
| | | * |
| | | * |
| | | * @return 积分说明 |
| | | */ |
| | | @GetMapping("/integral/explain/applets") |
| | |
| | | |
| | | /** |
| | | * 小程序-用户查询当前社区可领取积分规则列表 |
| | | * |
| | | * |
| | | * @param userId |
| | | * 用户id |
| | | * @param communityId |
| | |
| | | |
| | | /** |
| | | * 小程序-查询用户积分列表 |
| | | * |
| | | * |
| | | * @param userId |
| | | * 用户id |
| | | * @return 用户积分列表 |
| | |
| | | |
| | | /** |
| | | * 小程序-查询社区积分账户排行榜 |
| | | * |
| | | * |
| | | * @param communityRankDTO |
| | | * 请求参数 |
| | | * @return 社区积分账户排行榜 |
| | |
| | | |
| | | /** |
| | | * 小程序-查询用户社区积分明细 |
| | | * |
| | | * |
| | | * @param communityTradeDTO |
| | | * 请求参数 |
| | | * @return 用户社区积分明细 |
| | |
| | | |
| | | /** |
| | | * 社区后台-根据社区id查询社区下积分规则列表 |
| | | * |
| | | * |
| | | * @param integralRuleDTO |
| | | * 请求参数 |
| | | * @return 社区下积分规则列表 |
| | |
| | | |
| | | /** |
| | | * 社区后台-编辑社区积分规则 |
| | | * |
| | | * |
| | | * @param integralRuleDTO |
| | | * 请求参数 |
| | | * @return 编辑结果 |
| | |
| | | |
| | | /** |
| | | * 社区后台-分页查询社区下积分明细记录 |
| | | * |
| | | * |
| | | * @param integralRuleDTO |
| | | * 请求参数 |
| | | * @return 社区下积分明细记录 |
| | |
| | | |
| | | /** |
| | | * 给用户添加积分 |
| | | * |
| | | * |
| | | * @param integralUserDTO |
| | | * 请求参数 |
| | | * @return 添加积分结果 |
| | |
| | | |
| | | /** |
| | | * 根据社区活动id查询社区活动报名人员列表 |
| | | * |
| | | * |
| | | * @param activityId |
| | | * 活动id |
| | | * @return 社区活动报名人员列表 |
| | |
| | | |
| | | /** |
| | | * 根据id查询值班表 |
| | | * |
| | | * |
| | | * @param rotaId |
| | | * 值班表id |
| | | * @return 值班表详情 |
| | |
| | | |
| | | /** |
| | | * 批量删除值班表 |
| | | * |
| | | * |
| | | * @param rotaIds |
| | | * 值班ids |
| | | * @return 删除结果 |
| | |
| | | |
| | | /** |
| | | * 查询社区所有列表 |
| | | * |
| | | * |
| | | * @return 社区列表 |
| | | */ |
| | | @GetMapping("/switch/community/all/list") |
| | |
| | | |
| | | /** |
| | | * 根据名字查询所有社区列表 |
| | | * |
| | | * |
| | | * @param name |
| | | * 社区名字 |
| | | * @return 社区列表 |
| | |
| | | |
| | | /** |
| | | * 根据经纬度以及距离搜索附近社区列表 |
| | | * |
| | | * |
| | | * @param communityDTO |
| | | * 请求参数 |
| | | * @return 社区列表 |
| | |
| | | |
| | | /** |
| | | * 问卷调查统计汇总 |
| | | * |
| | | * |
| | | * @param summaryDTO |
| | | * 请求参数 |
| | | * @return 统计汇总 |
| | |
| | | |
| | | /** |
| | | * 问卷调查统计汇总导出数据查询 |
| | | * |
| | | * |
| | | * @param questId |
| | | * 调查问卷id |
| | | * @return 调查统计汇总导出数据 |
| | |
| | | |
| | | /** |
| | | * 问卷调查统计汇总表头统计 |
| | | * |
| | | * |
| | | * @param questId |
| | | * 调查问卷id |
| | | * @return 问卷调查统计汇总表头统计数据 |
| | |
| | | |
| | | /** |
| | | * 运营后台-新增随手拍分类 |
| | | * |
| | | * |
| | | * @param addPhotoClassify |
| | | * 请求参数 |
| | | * @return 新增结果 |
| | |
| | | |
| | | /** |
| | | * 运营后台-编辑随手拍分类 |
| | | * |
| | | * |
| | | * @param addPhotoClassify |
| | | * 请求参数 |
| | | * @return 编辑结果 |
| | |
| | | |
| | | /** |
| | | * 运营后台-分页查询随手拍分类 |
| | | * |
| | | * |
| | | * @param addPhotoClassify |
| | | * 请求参数 |
| | | * @return 随手拍分类列表 |
| | |
| | | |
| | | /** |
| | | * 运营后台-随手拍分类详情 |
| | | * |
| | | * |
| | | * @param id |
| | | * 随手拍分类id |
| | | * @return 随手拍分类 |
| | |
| | | |
| | | /** |
| | | * 运营后台-随手拍分类删除 |
| | | * |
| | | * |
| | | * @param id |
| | | * 随手拍分类id |
| | | * @return 删除结果 |
| | |
| | | |
| | | /** |
| | | * 运营后台-查询随手拍分类列表 |
| | | * |
| | | * |
| | | * @return 随手拍分类列表 |
| | | */ |
| | | @GetMapping("/classify/admin/list") |
| | |
| | | |
| | | /** |
| | | * 社区后台-切换随手拍公示状态 |
| | | * |
| | | * |
| | | * @param comActEasyPhotoVO |
| | | * 请求参数 |
| | | * @return 切换结果 |
| | |
| | | |
| | | /** |
| | | * 查询社区待处理随手拍id集合 |
| | | * |
| | | * |
| | | * @param communityId |
| | | * 社区id |
| | | * @return 社区待处理随手拍id集合 |
| | |
| | | */ |
| | | @PostMapping("/activity/default-praise") |
| | | R timedTaskActivityDefaultPraise(); |
| | | |
| | | /** |
| | | * 小程序-用户新增话题 |
| | | * @param circleTopicAppDTO 请求参数 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/neighbor/addNeighborTopicByApp") |
| | | R addNeighborTopicByApp(@RequestBody AddNeighborCircleTopicAppDTO circleTopicAppDTO); |
| | | |
| | | /** |
| | | * 小程序-删除邻里圈 |
| | | * @param circleTopicAppDTO 请求参数 |
| | | * @return 删除结果 |
| | | */ |
| | | @PostMapping("/neighbor/circleTopicAppDTO") |
| | | R deleteNeighborByApp(@RequestBody DeleteNeighborCircleAppDTO circleTopicAppDTO); |
| | | |
| | | /** |
| | | * 获取系统配置value |
| | | * @param key 系统配置code |
| | | * @param communityId 社区id |
| | | * @return 系统配置value |
| | | */ |
| | | @GetMapping("/sys/conf/getSysConfValue") |
| | | R getSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 新增系统配置 |
| | | * @param key 系统配置code |
| | | * @param communityId 社区id |
| | | * @param name 系统配置名称 |
| | | * @param value 系统配置value |
| | | * @return 新增结果 |
| | | */ |
| | | @GetMapping("/sys/conf/addSysConfValue") |
| | | R addSysConfValue(@RequestParam("key") String key,@RequestParam("communityId") Long communityId,@RequestParam("name") String name,@RequestParam("value") String value); |
| | | } |