修复一个bug

This commit is contained in:
2021-01-26 11:15:26 +08:00
parent 114e6c4ecd
commit 02eb1eb2c8
5 changed files with 85 additions and 43 deletions

View File

@@ -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,

View File

@@ -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;
}