src/main/java/com/itfsw/mybatis/generator/plugins/utils/IntrospectedTableTools.java
public static List<IntrospectedColumn> getModelBaseRecordClomns(IntrospectedTable introspectedTable) {
        List<IntrospectedColumn> introspectedColumns;
        if (includePrimaryKeyColumns(introspectedTable)) {
            if (includeBLOBColumns(introspectedTable)) {
                introspectedColumns = introspectedTable.getAllColumns();
            } else {
                introspectedColumns = introspectedTable.getNonBLOBColumns();
            }
        } else {
            if (includeBLOBColumns(introspectedTable)) {
                introspectedColumns = introspectedTable
                        .getNonPrimaryKeyColumns();
            } else {
                introspectedColumns = introspectedTable.getBaseColumns();
            }
        }

        return introspectedColumns;
    }
public static List<IntrospectedColumn> getModelBaseRecordClomns(IntrospectedTable introspectedTable) {
        List<IntrospectedColumn> introspectedColumns;
        if (includePrimaryKeyColumns(introspectedTable)) {
            if (includeBLOBColumns(introspectedTable)) {
                introspectedColumns = introspectedTable.getAllColumns();
            } else {
                introspectedColumns = introspectedTable.getNonBLOBColumns();
            }
        } else {
            if (includeBLOBColumns(introspectedTable)) {
                introspectedColumns = introspectedTable
                        .getNonPrimaryKeyColumns();
            } else {
                introspectedColumns = introspectedTable.getBaseColumns();
            }
        }

        return introspectedColumns;
    }
public static List < IntrospectedColumn > getModelBaseRecordClomns ( IntrospectedTable introspectedTable ) { List < IntrospectedColumn > introspectedColumns ; if ( includePrimaryKeyColumns ( introspectedTable ) ) { if ( includeBLOBColumns ( introspectedTable ) ) { introspectedColumns = introspectedTable . getAllColumns ( ) ; } else { introspectedColumns = introspectedTable . getNonBLOBColumns ( ) ; } } else { if ( includeBLOBColumns ( introspectedTable ) ) { introspectedColumns = introspectedTable . getNonPrimaryKeyColumns ( ) ; } else { introspectedColumns = introspectedTable . getBaseColumns ( ) ; } } return introspectedColumns ; }
获取生成model baseRecord的列
@param introspectedTable
@return
获取生成model baseRecord的列