修复一个bug
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								code/cpp/car_dealer_util/proj/vs2019/car_dealer_util/111.xlsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								code/cpp/car_dealer_util/proj/vs2019/car_dealer_util/111.xlsx
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -795,6 +795,13 @@ void LoadRepairRecommandationFromXlsx( const std::wstring &
 | 
			
		||||
		wstring messageSendingDate     = ReadCellStringFromXlsx( pBook, sheetIndex, rowIndex, colunmIndex++, true );
 | 
			
		||||
		wstring dataSource             = ReadCellStringFromXlsx( pBook, sheetIndex, rowIndex, colunmIndex++, true );
 | 
			
		||||
 | 
			
		||||
		//空行跳过
 | 
			
		||||
		if ( notifyNo.empty() == true )
 | 
			
		||||
		{
 | 
			
		||||
			rowIndex++;
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		RepairRecommandationRecord record( branchName,
 | 
			
		||||
			                               orderNo,
 | 
			
		||||
		                                   orderType,
 | 
			
		||||
 
 | 
			
		||||
@@ -34,7 +34,8 @@ void ImportCarDealerAchievementToOracleCpp( const std::string &
 | 
			
		||||
			"                                                            :a_others_amount ); \n"
 | 
			
		||||
			"END; ";
 | 
			
		||||
 | 
			
		||||
	//初始化
 | 
			
		||||
	//初始化 
 | 
			
		||||
 | 
			
		||||
	try
 | 
			
		||||
	{
 | 
			
		||||
		Environment::Initialize();
 | 
			
		||||
@@ -510,7 +511,7 @@ void ImportRepairRecommandationToOracle( const std::string &
 | 
			
		||||
			string 车牌号    = QString::fromStdWString( iterOrder->getPlateNumber() ).toLocal8Bit();
 | 
			
		||||
			string 厂牌型号   = QString::fromStdWString( iterOrder->getBrandName() ).toLocal8Bit();
 | 
			
		||||
 | 
			
		||||
			if ( 工单号.empty() == true )
 | 
			
		||||
			if ( 报案号.empty() == true )
 | 
			
		||||
			{
 | 
			
		||||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user