| | |
| | | } |
| | | LoginUserInfoVO loginUserInfoVO = this.getLoginUserInfo(); |
| | | pageEventDTO.setUserId(loginUserInfoVO.getUserId()); |
| | | pageEventDTO.setRevokeType(1); |
| | | return gridService.query(pageEventDTO); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 直接上报社区 |
| | | * @param commonEventDirectReportDTO 上报社区传递对象 |
| | | * @return 上报结果 |
| | | */ |
| | | @PostMapping("/reportDirect") |
| | | @ApiOperation(value = "直接上报社区", response = R.class) |
| | | R reportDirect(@Validated @RequestBody CommonEventDirectReportDTO commonEventDirectReportDTO){ |
| | | LoginUserInfoVO loginUserInfoVO = getLoginUserInfo(); |
| | | ClazzUtils.setIfStringIsEmpty(commonEventDirectReportDTO); |
| | | commonEventDirectReportDTO.setUserId(loginUserInfoVO.getUserId()); |
| | | commonEventDirectReportDTO.setUserName(loginUserInfoVO.getNickName()); |
| | | commonEventDirectReportDTO.setCommunityId(loginUserInfoVO.getCommunityId()); |
| | | return gridService.reportDirect(commonEventDirectReportDTO); |
| | | } |
| | | |
| | | |
| | | |
| | | } |