Commit 3d6c273b by jinfeng.wang

fix

parent 4c0685c2
......@@ -21,7 +21,7 @@ public class MySqlUtil {
Class.forName("com.mysql.jdbc.Driver");
Connection con = DriverManager.getConnection(
"jdbc:mysql://dataplatform-app-tag.c5yzcdreb1xr.us-east-1.rds.amazonaws.com:3306/app_tag?useUnicode=true&characterEncoding=utf8&useSSL=false", "apptag_rw", "7gyLEVtkER3u8c9");
String insertSql = "INSERT INTO tag_list(package_name, platform, install) VALUES @VALUES ON DUPLICATE KEY INGORE tag = tag";
String insertSql = "INSERT INTO tag_list(package_name, platform, install) VALUES @VALUES ON DUPLICATE KEY UPDATE tag = tag";
StringBuilder stringBuilder = new StringBuilder();
Iterator<String> iset = set.iterator();
while (iset.hasNext()) {
......
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