| | |
| | | @ApiOperation("新增数据") |
| | | @PostMapping |
| | | public R insert(@RequestBody ComActColumnVO comActColumnVO) { |
| | | comActColumnVO.setCommunityId(this.getCommunityId()); |
| | | if(this.getLoginUserInfo().getStreetId()!=null){ |
| | | comActColumnVO.setStreetId(this.getLoginUserInfo().getStreetId()); |
| | | } |
| | | else { |
| | | comActColumnVO.setCommunityId(this.getCommunityId()); |
| | | } |
| | | comActColumnVO.setStatus(1); |
| | | comActColumnVO.setCreateTime(new Date()); |
| | | if(StringUtils.isNotEmpty(this.getLoginUserInfo().getName())){ |
| | |
| | | else { |
| | | comActColumnVO.setCommunityId(this.getCommunityId()); |
| | | } |
| | | comActColumnVO.setCommunityId(this.getCommunityId()); |
| | | return this.communityService.queryLevel(comActColumnVO); |
| | | } |
| | | } |