|  | @ -29,6 +29,7 @@ import com.epmet.commons.tools.utils.Result; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.dao.BizPointTotalDetailDao; |  |  | import com.epmet.dao.BizPointTotalDetailDao; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.dto.BizPointTotalDetailDTO; |  |  | import com.epmet.dto.BizPointTotalDetailDTO; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.dto.form.GroupPointFormDTO; |  |  | import com.epmet.dto.form.GroupPointFormDTO; | 
			
		
	
		
		
			
				
					|  |  |  |  |  | import com.epmet.resi.group.dto.group.form.GroupPointDetailFormDTO; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.resi.group.dto.group.result.GroupPointDetailResultDTO; |  |  | import com.epmet.resi.group.dto.group.result.GroupPointDetailResultDTO; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.dto.result.GroupPointRankingResultDTO; |  |  | import com.epmet.dto.result.GroupPointRankingResultDTO; | 
			
		
	
		
		
			
				
					|  |  | import com.epmet.entity.BizPointTotalDetailEntity; |  |  | import com.epmet.entity.BizPointTotalDetailEntity; | 
			
		
	
	
		
		
			
				
					|  | @ -140,16 +141,20 @@ public class BizPointTotalDetailServiceImpl extends BaseServiceImpl<BizPointTota | 
			
		
	
		
		
			
				
					|  |  |      */ |  |  |      */ | 
			
		
	
		
		
			
				
					|  |  |     @Override |  |  |     @Override | 
			
		
	
		
		
			
				
					|  |  |     public GroupPointDetailResultDTO pointDetail(GroupPointFormDTO formDTO) { |  |  |     public GroupPointDetailResultDTO pointDetail(GroupPointFormDTO formDTO) { | 
			
		
	
		
		
			
				
					|  |  |         Result<GroupPointDetailResultDTO> result = resiGroupOpenFeignClient.groupPointDetail(formDTO.getGroupId()); |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         if (!result.success() || null == result.getData()) { |  |  |  | 
			
		
	
		
		
			
				
					|  |  |             throw new RenException(result.getCode(), result.getMsg()); |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         } |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         GroupPointDetailResultDTO detail = result.getData(); |  |  |  | 
			
		
	
		
		
			
				
					|  |  |         QueryWrapper<BizPointTotalDetailEntity> wrapper = new QueryWrapper<>(); |  |  |         QueryWrapper<BizPointTotalDetailEntity> wrapper = new QueryWrapper<>(); | 
			
		
	
		
		
			
				
					|  |  |         wrapper.eq("BIZ_TYPE", "group") |  |  |         wrapper.eq("BIZ_TYPE", "group") | 
			
		
	
		
		
			
				
					|  |  |                 .eq("OBJECT_ID", formDTO.getGroupId()) |  |  |                 .eq("OBJECT_ID", formDTO.getGroupId()) | 
			
		
	
		
		
			
				
					|  |  |                 .eq("DEL_FLAG", NumConstant.ZERO_STR); |  |  |                 .eq("DEL_FLAG", NumConstant.ZERO_STR); | 
			
		
	
		
		
			
				
					|  |  |         BizPointTotalDetailEntity entity = baseDao.selectOne(wrapper); |  |  |         BizPointTotalDetailEntity entity = baseDao.selectOne(wrapper); | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         GroupPointDetailFormDTO groupPointDetailFormDTO = new GroupPointDetailFormDTO(); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         groupPointDetailFormDTO.setGroupId(formDTO.getGroupId()); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         groupPointDetailFormDTO.setPoint(null == entity?NumConstant.ZERO:entity.getTotalPoint()); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         Result<GroupPointDetailResultDTO> result = resiGroupOpenFeignClient.groupPointDetail(groupPointDetailFormDTO); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         if (!result.success() || null == result.getData()) { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             throw new RenException(result.getCode(), result.getMsg()); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         GroupPointDetailResultDTO detail = result.getData(); | 
			
		
	
		
		
			
				
					|  |  |         Integer increase = userPointActionLogService.getIncrease("group", formDTO.getGroupId()); |  |  |         Integer increase = userPointActionLogService.getIncrease("group", formDTO.getGroupId()); | 
			
		
	
		
		
			
				
					|  |  |         detail.setIncrease(increase.toString()); |  |  |         detail.setIncrease(increase.toString()); | 
			
		
	
		
		
			
				
					|  |  |         if (null == entity) { |  |  |         if (null == entity) { | 
			
		
	
	
		
		
			
				
					|  | 
 |