增加参数配置窗口
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user