|  |  | @ -74,7 +74,7 @@ class ExerciseBanksController < ApplicationController | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   #判断实训是否已选择 |  |  |  |   #判断实训是否已选择 | 
			
		
	
		
		
			
				
					
					|  |  |  |   def commit_shixun_present |  |  |  |   def commit_shixun_present | 
			
		
	
		
		
			
				
					
					|  |  |  |     question_shixun_ids = @exercise.exercise_bank_questions.pluck(:shixun_id).reject(&:blank?) |  |  |  |     question_shixun_ids = @bank.exercise_bank_questions.pluck(:shixun_id).reject(&:blank?) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     shixun_id = params[:shixun_id] |  |  |  |     shixun_id = params[:shixun_id] | 
			
		
	
		
		
			
				
					
					|  |  |  |     @shixun = Shixun.find_by(id: shixun_id) |  |  |  |     @shixun = Shixun.find_by(id: shixun_id) | 
			
		
	
		
		
			
				
					
					|  |  |  |     if shixun_id.present? && question_shixun_ids.include?(shixun_id) |  |  |  |     if shixun_id.present? && question_shixun_ids.include?(shixun_id) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |