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