Ver código fonte

1、Debug模式下,批量更新report_date以便于全部sn上报测试;

scbc.sat2 5 anos atrás
pai
commit
bda1d8b7d6
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      scbc.tools/scbc.tools/DataImpl.cpp

+ 6 - 0
scbc.tools/scbc.tools/DataImpl.cpp

@@ -762,5 +762,11 @@ BOOL CDataImpl::RemoveBidData(std::string order)
 	if ( TransactionCommit() != 0 )
 	if ( TransactionCommit() != 0 )
 		return FALSE;
 		return FALSE;
 
 
+#ifdef _DEBUG
+	// ÅúÁ¿ÐÞ¸Äreport_date;
+	sqlite3_exec(m_psqlite3, "UPDATE keys set copy_date = CURRENT_TIMESTAMP;", NULL, NULL, &psqlite_error);
+	FREE_MSG;
+#endif
+
 	return TRUE;
 	return TRUE;
 }
 }