Commit fa417647 by jinfeng.wang

fix

parent b78b11cd
......@@ -181,7 +181,9 @@ public class StorageTag {
String insert_sql = "REPLACE INTO storage(package_name, app_name, platform, tag, update_time) " +
"VALUES";
// System.out.println(insert_sql + insertSql.substring(0, insertSql.length() - 1));
stmt.executeQuery(insert_sql + insertSql.substring(0, insertSql.length() - 1));
if (insertSql.length() > 0) {
stmt.executeQuery(insert_sql + insertSql.substring(0, insertSql.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