Commit b78b11cd by jinfeng.wang

fix

parent 0d14672b
......@@ -75,7 +75,9 @@ public class StorageTag {
resultSet.close();
preparedStatement.close();
if (resultSetAdmin.next()) {
insertAdmin(resultSetAdmin);
}
resultSetAdmin.close();
preparedStatement_admin.close();
connection.close();
......@@ -184,8 +186,10 @@ public class StorageTag {
} catch (Exception e) {
e.printStackTrace();
}
if (packageSet.size() > 0) {
update(packageSet);
}
}
private static void insert(Map<String, Integer> map) throws JsonProcessingException {
Iterator<String> iterator = map.keySet().iterator();
......
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