public static int insert(Statement stat, String table, HashMap<String, Object> values) throws SQLException {
        String db_Name = DataBaseManager.getDb_name();
        System.out.println("--------db_name----->>>>"+db_Name);

        String fieldSql = "select COLUMN_NAME from information_schema.columns where table_name='" + table + "' and TABLE_SCHEMA = 'may_stv' ";
//        String fieldSql = "select COLUMN_NAME from information_schema.columns where table_name='" + table + "' and TABLE_SCHEMA = ' " + db_Name + " ' ";
        ResultSet rse = stat.executeQuery(fieldSql);
        List<String> fields = new ArrayList<String>();
        while (rse.next()) {
            System.out.println(rse.getString(1));
            fields.add(rse.getString(1));
        }

        StringBuffer sb = new StringBuffer();
        sb.append("insert into ").append(table).append(" values(");
        for (int i = 0; i < fields.size(); ++i) {
            if (i == fields.size() - 1 || i == 0 && fields.size() == 1) {
                System.out.println("--fileds.get(i)-->>" + fields.get(i));
                sb.append(values.get(fields.get(i)));
                System.out.println("----" + values.get(fields.get(i)));
                continue;
            }
            System.out.println("----" + fields.get(i));
            System.out.println("----" + values.get(fields.get(i)));
            sb.append(values.get(fields.get(i))).append(",");
        }
        sb.append(");");
        System.out.println("sql----" + sb.toString());
        return stat.execute(sb.toString()) ? 0 : -1;
    }