tableName=this.getOrmRule().class2TableName(type.getSimpleName());
}else{
tableName=tableAnnotation.value();
}
String viewName=null;
View viewAnnotation=type.getAnnotation(View.class);
if(viewAnnotation==null&&tableAnnotation==null){//如果有view标签
viewName=this.getOrmRule().class2TableName(type.getSimpleName());
}else if(tableAnnotation!=null){
viewName=tableAnnotation.value();
}else{
viewName=viewAnnotation.value();
}
// 得到表结构
MyTable table=CollectData.getTableByTableName(tableName, conn,false);
Entity<?> entity = new Entity<Object>();
Mirror<?> mirror = Mirror.me(type);