public static String formatSql(String sqlNeedFormat, String[] tableNames) {
		StringBuilder key = new StringBuilder();
		for (String tableName : tableNames) {
			key.append(tableName);
		}
		key.append(sqlNeedFormat);
		String keyStr = key.toString();
		String sql = formattedSql.get(keyStr);
		if (sql == null) {
			MessageFormat format = new MessageFormat(sqlNeedFormat);
			sql = format.format(tableNames);
			formattedSql.put(keyStr, sql);
		}
		return sql;

	}