| | |
| | | @Override |
| | | public R getIntegralCommunityTradeApplets(ComActIntegralCommunityRankDTO communityTradeDTO){ |
| | | if(communityTradeDTO.getType().equals(ComActIntegralCommunityRankDTO.type.resident)){ |
| | | communityTradeDTO.setIdentityType(ComActIntegralCommunityRankDTO.type.resident); |
| | | communityTradeDTO.setIdentityType(ComActIntegralCommunityRankDTO.identityType.resident); |
| | | }else if(communityTradeDTO.getType().equals(ComActIntegralCommunityRankDTO.type.party)){ |
| | | communityTradeDTO.setIdentityType(ComActIntegralCommunityRankDTO.type.party); |
| | | communityTradeDTO.setIdentityType(ComActIntegralCommunityRankDTO.identityType.party); |
| | | }else if(communityTradeDTO.getType().equals(ComActIntegralCommunityRankDTO.type.volunteer)){ |
| | | communityTradeDTO.setIdentityType(ComActIntegralCommunityRankDTO.type.volunteer); |
| | | communityTradeDTO.setIdentityType(ComActIntegralCommunityRankDTO.identityType.volunteer); |
| | | } |
| | | return R.ok(this.baseMapper.getIntegralCommunityTradeApplets(new Page(communityTradeDTO.getPageNum(),communityTradeDTO.getPageSize()),communityTradeDTO)); |
| | | } |
| | |
| | | ComActDiscussDO discussDO = comActDiscussDAO.selectById(serviceId); |
| | | if(discussDO != null){ |
| | | remark.append("【"); |
| | | remark.append(discussDO.getVoteTitle()); |
| | | remark.append(discussDO.getDiscussSubject()); |
| | | remark.append("】"); |
| | | } |
| | | }else{ |