| 
					
				 | 
			
			
				@@ -1438,7 +1438,7 @@ namespace OASystem.API.OAMethodLib 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             DataTable datas =  GetTableByBlackCode(diId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            string countryStr = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            string countryStr = "[黑屏代码未录入]."; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (datas.Rows.Count > 0 ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 var airDatas = from row in datas.AsEnumerable() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1458,10 +1458,12 @@ namespace OASystem.API.OAMethodLib 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //去掉开始和结束城市 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 foreach (var row in airDatas)  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (index == 0) cityCodes.Add(row.Three.Substring(3, 3)); //到达国家 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    else if (airDatas.Count()-1 == index) cityCodes.Add(row.Three.Substring(0, 3)); //到达国家 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    else cityCodes.Add(row.Three.Substring(0, 3)); //到达国家 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (!string.IsNullOrEmpty(row.Three)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if (index == 0) cityCodes.Add(row.Three.Substring(3, 3)); //到达国家 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        else if (airDatas.Count() - 1 == index) cityCodes.Add(row.Three.Substring(0, 3)); //到达国家 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        else cityCodes.Add(row.Three.Substring(0, 3)); //到达国家 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     index++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 cityCodes = cityCodes.Distinct().ToList(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1481,6 +1483,7 @@ namespace OASystem.API.OAMethodLib 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         DateTime dep_dt = Convert.ToDateTime(airData[1].Day); //离开时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         days = (dep_dt - arr_dt).Days; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         countryStr += $@"{country}停留{days}日、"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        //countryStr += $@"{country}停留  日、"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (countryStr.Length > 0) countryStr = countryStr.Substring(0, countryStr.Length - 1); 
			 |