Bladeren bron

上传测试数据表确定,更正。

JeffWang 3 jaren geleden
bovenliggende
commit
69a8a8d696
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      Source/OGCAssistTool/OGCAssistTool/MESdb.cpp

+ 2 - 2
Source/OGCAssistTool/OGCAssistTool/MESdb.cpp

@@ -426,8 +426,8 @@ bool CMESdb::UploadTestData(TString strSN, TString strResult, TString strDateTim
 	try
 	try
 	{
 	{
 		CString strSql;
 		CString strSql;
-		//strSql.Format(_T("insert into aaaa(SN,Result,UpdateTime) values ('%s','%s','%s')"), strSN.c_str(), strResult.c_str(), strDateTime.c_str());
-		strSql.Format(_T("insert into aaaa(SN,Result,UpdateTime) values ('%s','%s',GETDATE())"), strSN.c_str(), strResult.c_str());
+		//strSql.Format(_T("insert into WhiteBlanceAll(SN,Result,UpdateTime) values ('%s','%s','%s')"), strSN.c_str(), strResult.c_str(), strDateTime.c_str());
+		strSql.Format(_T("insert into WhiteBlanceAll(SN,Result,UpdateTime) values ('%s','%s',GETDATE())"), strSN.c_str(), strResult.c_str());
 
 
 		m_pConnection3->CursorLocation = adUseClient;
 		m_pConnection3->CursorLocation = adUseClient;
 		m_pConnection3->Execute(_bstr_t(strSql), NULL, adExecuteNoRecords);
 		m_pConnection3->Execute(_bstr_t(strSql), NULL, adExecuteNoRecords);