| | |
| | | Long communityId=this.baseMapper.selectCommunityId(comPbCheckUnit.getHelpCommunityName().split(",")[0],comPbCheckUnit.getHelpCommunityName().split(",")[1],comPbCheckUnit.getHelpCommunityName().split(",")[2]); |
| | | ComPbCheckUnit entity = new ComPbCheckUnit(); |
| | | BeanUtils.copyProperties(comPbCheckUnit, entity); |
| | | int a=0; |
| | | if(!StringUtils.isEmpty(comPbCheckUnit.getAdminPhone())) |
| | | { |
| | | a=this.baseMapper.selectOrgAdmin(comPbCheckUnit.getAdminPhone()); |
| | | } |
| | | if(a!=0) |
| | | { |
| | | return R.fail("该手机号已绑定管理员!"); |
| | | } |
| | | if(communityId!=null){ |
| | | entity.setCommunityId(communityId); |
| | | } |
| | |
| | | } |
| | | } |
| | | //查询 活动总积分 |
| | | PbCheckUnitStatisticsVo vo = this.baseMapper.pbStatisticsTop(communityIds, belongTo, choice, checkUnitId,unitIds); |
| | | PbCheckUnitStatisticsVo vo = this.baseMapper.pbStatisticsTop(communityIds, belongTo, choice, checkUnitId,unitIds,yearTime); |
| | | if(null != vo) { |
| | | Integer sum = this.baseMapper.pbOrganSumIntegral(communityIds,yearTime); |
| | | vo.setOrganSumIntegral(sum); |