Commit 92609607 by jinfeng.wang

fix

parent 8bdecdf0
......@@ -161,10 +161,10 @@ public class StorageTag {
"VALUES";
String insert_sql2 = "REPLACE INTO storage(package_name, app_name, platform, tag, update_time) " +
"VALUES";
System.out.println(insert_sql1 + insertSql_1.substring(0, insertSql_1.length() - 1));
System.out.println(insert_sql2 + insertSql_2.substring(0, insertSql_2.length() - 1));
// stmt.executeQuery(insert_sql1 + insertSql_1.substring(0, insertSql_1.length() - 1));
// stmt1.executeQuery(insert_sql2 + insertSql_2.substring(0, insertSql_2.length() - 1));
// System.out.println(insert_sql1 + insertSql_1.substring(0, insertSql_1.length() - 1));
// System.out.println(insert_sql2 + insertSql_2.substring(0, insertSql_2.length() - 1));
stmt.executeQuery(insert_sql1 + insertSql_1.substring(0, insertSql_1.length() - 1));
stmt1.executeQuery(insert_sql2 + insertSql_2.substring(0, insertSql_2.length() - 1));
con.close();
} catch (Exception e) {
e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment