| | |
| | | ClazzUtils.setIfStringIsEmpty(specialEventEditDTO); |
| | | LoginUserInfoVO loginUserInfoVO = this.getLoginUserInfo(); |
| | | specialEventEditDTO.setUserId(loginUserInfoVO.getUserId()); |
| | | specialEventEditDTO.setUserName(loginUserInfoVO.getName()); |
| | | specialEventEditDTO.setUserName(loginUserInfoVO.getNickName()); |
| | | specialEventEditDTO.setPhone(loginUserInfoVO.getPhone()); |
| | | return gridService.saveSpecialDraft(specialEventEditDTO); |
| | | } |
| | |
| | | LoginUserInfoVO loginUserInfoVO = getLoginUserInfo(); |
| | | ClazzUtils.setIfStringIsEmpty(commonEventReportDTO); |
| | | commonEventReportDTO.setUserId(loginUserInfoVO.getUserId()); |
| | | commonEventReportDTO.setUserName(loginUserInfoVO.getName()); |
| | | commonEventReportDTO.setUserName(loginUserInfoVO.getNickName()); |
| | | commonEventReportDTO.setCommunityId(loginUserInfoVO.getCommunityId()); |
| | | return gridService.report(commonEventReportDTO); |
| | | } |
| | | |
| | |
| | | ClazzUtils.setIfStringIsEmpty(commonEventDealDTO); |
| | | LoginUserInfoVO loginUserInfoVO = new LoginUserInfoVO(); |
| | | commonEventDealDTO.setUserId(loginUserInfoVO.getUserId()); |
| | | commonEventDealDTO.setUserName(loginUserInfoVO.getName()); |
| | | commonEventDealDTO.setUserName(loginUserInfoVO.getNickName()); |
| | | commonEventDealDTO.setCommunityId(loginUserInfoVO.getCommunityId()); |
| | | commonEventDealDTO.setCommunityName(loginUserInfoVO.getCommunityName()); |
| | | return gridService.dealEvent(commonEventDealDTO); |
| | | } |
| | | |
| | |
| | | ClazzUtils.setIfStringIsEmpty(commonEventVerifyDTO); |
| | | LoginUserInfoVO loginUserInfoVO = this.getLoginUserInfo(); |
| | | commonEventVerifyDTO.setUserId(loginUserInfoVO.getUserId()); |
| | | commonEventVerifyDTO.setUserName(loginUserInfoVO.getName()); |
| | | commonEventVerifyDTO.setUserName(loginUserInfoVO.getNickName()); |
| | | return gridService.verifyEvent(commonEventVerifyDTO); |
| | | } |
| | | |
| | | /** |
| | | * 直接上报社区 |
| | | * @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); |
| | | } |
| | | |
| | | |
| | | } |