增加参数配置窗口

This commit is contained in:
2020-12-29 10:38:40 +08:00
parent e57beeb725
commit 114e6c4ecd
10 changed files with 233 additions and 27 deletions

View File

@@ -449,7 +449,7 @@ void ImportRepairRecommandationToOracle( const std::string &
const otext * szSql =
"BEGIN \n"
" car_dealer.data_import_util_pkg.import_repairing_suggestion(:a_branch_name, \n"
" :a_order_no, \n"
" :a_order_no, \n"
" :a_order_type, \n"
" :a_notify_no, \n"
" :a_sug_cardealer_code, \n"
@@ -497,7 +497,7 @@ void ImportRepairRecommandationToOracle( const std::string &
try
{
//绑定数据
string = QString::fromStdWString(iterOrder->getBranchName()).toLocal8Bit();
string = QString::fromStdWString( iterOrder->getBranchName() ).toLocal8Bit();
string = QString::fromStdWString( iterOrder->getOrderNo() ).toLocal8Bit();
string = QString::fromStdWString( iterOrder->getOrderType() ).toLocal8Bit();
string = QString::fromStdWString( iterOrder->getNotifyNo() ).toLocal8Bit();
@@ -516,7 +516,7 @@ void ImportRepairRecommandationToOracle( const std::string &
}
//执行语句
OCI_BindString(pStmt, ":a_branch_name", (otext*).c_str(), .size());
OCI_BindString( pStmt, ":a_branch_name", (otext*).c_str(), .size() );
OCI_BindString( pStmt, ":a_order_no", (otext*).c_str(), .size() );
OCI_BindString( pStmt, ":a_order_type", (otext*).c_str(), .size() );
OCI_BindString( pStmt, ":a_notify_no", (otext*).c_str(), .size() );
@@ -1098,7 +1098,7 @@ void ImportNewRepairMonitorToOracle( const std::string &
errorMessage.append( notifyNo );
errorMessage.append( "\n保存失败,提示信息:" );
errorMessage.append( QString::fromLocal8Bit( error.what()).toStdString() );
errorMessage.append( QString::fromLocal8Bit( error.what() ).toStdString() );
OCI_Cleanup();