|  |  | @ -222,6 +222,14 @@ public class ActInfoServiceImpl extends BaseServiceImpl<ActInfoDao, ActInfoEntit | 
			
		
	
		
			
				
					|  |  |  |         Boolean volunteerFlag = heartUserInfoDao.selectUserVolunteerFlag(formDto.getUserId()); | 
			
		
	
		
			
				
					|  |  |  |         detailResultDTO.setUserVolunteerFlag(volunteerFlag); | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         // 查询用户是否已报名活动
 | 
			
		
	
		
			
				
					|  |  |  |         String status = actUserRelationDao.selectUserStatusByActIdAndUserId(formDto.getActId(), formDto.getUserId()); | 
			
		
	
		
			
				
					|  |  |  |         detailResultDTO.setIsRegistration(false); | 
			
		
	
		
			
				
					|  |  |  |         if (null != status){ | 
			
		
	
		
			
				
					|  |  |  |             if (ActConstant.ACT_USER_STATUS_PASSED.equals(status) || ActConstant.ACT_USER_STATUS_AUDITING.equals(status)){ | 
			
		
	
		
			
				
					|  |  |  |                 detailResultDTO.setIsRegistration(true); | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         // 获取用户报名状态
 | 
			
		
	
		
			
				
					|  |  |  |         String currentUserStatus = getCurrentUserStatus(formDto.getActId(), formDto.getUserId()); | 
			
		
	
		
			
				
					|  |  |  |         detailResultDTO.setCurrentUserStatus(currentUserStatus); | 
			
		
	
	
		
			
				
					|  |  | @ -250,7 +258,7 @@ public class ActInfoServiceImpl extends BaseServiceImpl<ActInfoDao, ActInfoEntit | 
			
		
	
		
			
				
					|  |  |  |             return ActConstant.CURRENT_STATUS_USER_FINISHED; | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         // 查询用户是否报名该活动
 | 
			
		
	
		
			
				
					|  |  |  |         // 查询用户是否报名参加过该活动
 | 
			
		
	
		
			
				
					|  |  |  |         QueryWrapper<ActUserRelationEntity> actUserRelationWrapper = new QueryWrapper<>(); | 
			
		
	
		
			
				
					|  |  |  |         actUserRelationWrapper.eq("ACT_ID", actId) | 
			
		
	
		
			
				
					|  |  |  |                 .eq("USER_ID", userId) | 
			
		
	
	
		
			
				
					|  |  | 
 |