| | |
| | | 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; |
| | |
| | | R addComActEasyPhotoComment(@RequestBody ComActEasyPhotoCommentDTO comActEasyPhotoCommentDTO); |
| | | |
| | | /** |
| | | * 一起议-新增 |
| | | * 议事投票-新增 |
| | | * |
| | | * @param comActDiscussDTO |
| | | * 新增参数 |
| | |
| | | R addDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO); |
| | | |
| | | /** |
| | | * 一起议-详情 |
| | | * 议事投票-新增 |
| | | * |
| | | * @param comActDiscussDTO |
| | | * 新增参数 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("editdiscuss") |
| | | R editDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO); |
| | | |
| | | /** |
| | | * 议事投票-详情 |
| | | * |
| | | * @param id |
| | | * 主键 |
| | |
| | | R detailDiscuss(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 一起议-删除 |
| | | * 议事投票-删除 |
| | | * |
| | | * @param id |
| | | * 主键 |
| | |
| | | R deleteDiscuss(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 一起议-回复 |
| | | * 议事投票-回复 |
| | | * |
| | | * @param comActDiscussCommentDTO |
| | | * 评论内容 |
| | |
| | | R addDiscussComment(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO); |
| | | |
| | | /** |
| | | * 一起议-分页查询 |
| | | * 议事投票-分页查询 |
| | | * |
| | | * @param pageComActDiscussDTO |
| | | * 查询参数 |
| | |
| | | R pageDiscuss(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); |
| | | |
| | | /** |
| | | * 一起议-评论-查看 |
| | | * 议事投票-评论-查看 |
| | | * |
| | | * @param id |
| | | * 主键 |
| | |
| | | R detailDiscussComment(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 一起议-评论-置顶 |
| | | * 议事投票-评论-置顶 |
| | | * |
| | | * @param id |
| | | * 主键 |
| | |
| | | R putDiscussCommentTop(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 一起议-评论-回复 |
| | | * 议事投票-评论-回复 |
| | | * |
| | | * @param comActDiscussCommentDTO |
| | | * 回复内容 |
| | |
| | | R addDiscussCommentBack(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO); |
| | | |
| | | /** |
| | | * 一起议-评论-分页查询 |
| | | * 议事投票-评论-分页查询 |
| | | * |
| | | * @param pageComActDiscussCommentDTO |
| | | * 分页查询参数 |
| | |
| | | R pageDiscussComment(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); |
| | | |
| | | /** |
| | | * 一起议-分页查询 小程序 |
| | | * 议事投票-分页查询 小程序 |
| | | * |
| | | * @param pageComActDiscussDTO |
| | | * 查询参数 |
| | |
| | | R pageDiscussApplets(@RequestBody PageComActDiscussDTO pageComActDiscussDTO); |
| | | |
| | | /** |
| | | * 一起议-点赞、取消点赞 |
| | | * 议事投票-点赞、取消点赞 |
| | | * |
| | | * @param comActDiscussUserDTO |
| | | * 操作类型 |
| | |
| | | R putDiscussUser(@RequestBody ComActDiscussUserDTO comActDiscussUserDTO); |
| | | |
| | | /** |
| | | * 一起议-评论-分页查询 小程序 |
| | | * 议事投票-评论-分页查询 小程序 |
| | | * |
| | | * @param pageComActDiscussCommentDTO |
| | | * 分页参数 |
| | |
| | | R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); |
| | | |
| | | /** |
| | | * 一起议-详情 小程序 |
| | | * 议事投票-详情 小程序 |
| | | * |
| | | * @param id |
| | | * 主键 |
| | |
| | | R detailDiscussApplets(@RequestParam("id") Long id, @RequestParam("userId") Long userId); |
| | | |
| | | /** |
| | | * 一起议-投票 |
| | | * 议事投票-投票 |
| | | * |
| | | * @param comActDiscussOptionUserDTO |
| | | * 投票信息 |
| | |
| | | R addDiscussOptionUser(@RequestBody ComActDiscussOptionUserDTO comActDiscussOptionUserDTO); |
| | | |
| | | /** |
| | | * 一起议-评论-点赞、取消点赞 |
| | | * 议事投票-评论-点赞、取消点赞 |
| | | * |
| | | * @param comActDiscussUserDTO |
| | | * 评论点赞 |
| | |
| | | R pageComCvtBusinessByServiceArea(@RequestBody PageComCvtBusinessAppletsDTO comCvtBusinessAppletsDTO); |
| | | |
| | | /** |
| | | * 一起议-新增 |
| | | * 议事投票-新增 |
| | | * |
| | | * @param comOpsHouseDTO |
| | | * 新增参数 |
| | |
| | | R addOpsHouse(@RequestBody ComOpsHouseDTO comOpsHouseDTO); |
| | | |
| | | /** |
| | | * 一起议-详情 |
| | | * 议事投票-详情 |
| | | * |
| | | * @param id |
| | | * 主键 |
| | |
| | | R undercarriageHouse(@RequestBody ComOpsHouseUndercarriageVO comOpsHouseVO); |
| | | |
| | | /** |
| | | * 一起议-删除 |
| | | * 议事投票-删除 |
| | | * |
| | | * @param id |
| | | * 主键 |
| | |
| | | R activity(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 大屏统计一起议 |
| | | * 大屏统计议事投票 |
| | | * |
| | | * @param communityId |
| | | * @return |
| | |
| | | R getScreenEventDetail(@RequestBody BigScreenEventDetailDTO eventDetailDTO); |
| | | |
| | | /** |
| | | * 工作大屏-一起议列表 |
| | | * 工作大屏-议事投票列表 |
| | | * |
| | | * @param discussListDTO |
| | | * 请求参数 |
| | | * @return 一起议列表 |
| | | * @return 议事投票列表 |
| | | */ |
| | | @PostMapping("/screen/work/getScreenDiscussList") |
| | | R getScreenDiscussList(@RequestBody ScreenDiscussListDTO discussListDTO); |
| | |
| | | * @return 邻里圈话题列表 |
| | | */ |
| | | @GetMapping("/neighbor/getNeighborTopicByApp") |
| | | R getNeighborTopicByApp(@RequestParam("communityId") Long communityId); |
| | | R getNeighborTopicByApp(@RequestParam("communityId") Long communityId,@RequestParam("isZero") Integer isZero); |
| | | |
| | | /** |
| | | * 综治后台-查询社区列表 |
| | |
| | | */ |
| | | @PostMapping("/easyphoto/getUserReward") |
| | | R getUserReward(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 获取首页弹窗接口 |
| | | * @param userId |
| | | * 用户id |
| | | * @param communityId |
| | | * 社区id |
| | | * @return 首页弹窗接口 |
| | | */ |
| | | @PostMapping("/easyphoto/getUserRewards") |
| | | R getUserRewards(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 读取用户随手拍奖励 |
| | |
| | | */ |
| | | @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); |
| | | |
| | | /** |
| | | * 编辑系统配置 |
| | | * @param communityId 社区id |
| | | * @param status 配置值 |
| | | * @return 编辑结果 |
| | | */ |
| | | @GetMapping("/sys/conf/editSysConfValue") |
| | | R editSysConfValue(@RequestParam("communityId") Long communityId,@RequestParam("status") Integer status); |
| | | } |