public static Map newMapFromTableConfig(TableConfig tableConfig) {
Map map = new HashMap();
String[] ignoreProperties = new String[]{"sqls"};
map.putAll(BeanHelper.describe(tableConfig,ignoreProperties));
map.put("tableConfig", tableConfig);
map.put("StringHelper", new StringHelper());
map.put("appName", "badqiu_test_app");
map.put("appModule", "badqiu_test_module");
map.put("databaseType", "mysql");
return map;