|  | @@ -1278,10 +1278,16 @@ void mg_per_session_data::GetMaxLockNew(const std::map<time_t, tagSecondStatInfo
 | 
	
		
			
				|  |  |  		if (fluctuation_val < 30)
 | 
	
		
			
				|  |  |  		{
 | 
	
		
			
				|  |  |  			//괏넣제
 | 
	
		
			
				|  |  | +			int show_val = INT_MIN;
 | 
	
		
			
				|  |  |  			if (it_end->second.dif_val < 30)
 | 
	
		
			
				|  |  | -				retensionforce[it_end->first * 1000] = it_start->second.end_val;
 | 
	
		
			
				|  |  | -			else if (it_end->second.cout)
 | 
	
		
			
				|  |  | -				retensionforce[it_end->first * 1000] = it_end->second.sum_val / it_end->second.cout;
 | 
	
		
			
				|  |  | +				show_val = it_start->second.end_val;
 | 
	
		
			
				|  |  | +			else if (it_end->second.cout > 1)
 | 
	
		
			
				|  |  | +				show_val = it_end->second.sum_val / it_end->second.cout;
 | 
	
		
			
				|  |  | +			else
 | 
	
		
			
				|  |  | +				show_val = it_end->second.first_val;
 | 
	
		
			
				|  |  | +			if (show_val > 100000 || show_val < -100000)
 | 
	
		
			
				|  |  | +				SPDLOG_ERROR("[괏넣제털뙤]嫩끽令:{}  sum:{} count:{}", show_val, it_end->second.sum_val, it_end->second.cout);
 | 
	
		
			
				|  |  | +			retensionforce[it_end->first * 1000] = show_val;
 | 
	
		
			
				|  |  |  			continue;
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 |