| 
					
				 | 
			
			
				@@ -534,12 +534,16 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             userDefaultSubjectIds=new ArrayList<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Integer applyTimes = practiceGroupDao.countUserPracticeApplyRecord(userId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         result.put("subjects", subjects); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         result.put("practiceApplyStartTime", practiceApplyStartTimeConfig.getParanValue()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         result.put("practiceApplyEndTime", practiceApplyEndTimeConfig.getParanValue()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         result.put("userDefaultSubjectIds", StringUtils.join(userDefaultSubjectIds.toArray(),",")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         result.put("practiceApplyIntervalMinutes", practiceApplyIntervalTimeConfig.getParanValue(Integer.class)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         result.put("practiceCourseMinutes", practiceCourseMinutesConfig.getParanValue(Integer.class)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        result.put("enableApply", applyTimes < 1 ? 1 : 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |