private String getEnumConstantValue(boolean delete) {
        if (this.logicalDeleteEnum != null) {
            String enumConstant = this.logicalDeleteEnum.getEnumConstants().get(delete ? this.logicalDeleteEnumIndex : this.logicalUnDeleteEnumIndex);
            enumConstant = enumConstant.split("\\(")[0];
            return this.logicalDeleteEnum.getType().getShortName() + "." + enumConstant + ".value()";
        }
        return null;
    }
private String getEnumConstantValue(boolean delete) {
        if (this.logicalDeleteEnum != null) {
            String enumConstant = this.logicalDeleteEnum.getEnumConstants().get(delete ? this.logicalDeleteEnumIndex : this.logicalUnDeleteEnumIndex);
            enumConstant = enumConstant.split("\\(")[0];
            return this.logicalDeleteEnum.getType().getShortName() + "." + enumConstant + ".value()";
        }
        return null;
    }
private String getEnumConstantValue ( boolean delete ) { if ( this . logicalDeleteEnum != null ) { String enumConstant = this . logicalDeleteEnum . getEnumConstants ( ) . get ( delete ? this . logicalDeleteEnumIndex : this . logicalUnDeleteEnumIndex ) ; enumConstant = enumConstant . split ( "\\(" ) [ 0 ] ; return this . logicalDeleteEnum . getType ( ) . getShortName ( ) + "." + enumConstant + ".value()" ; } return null ; }
获取逻辑删除枚举
@param delete
@return
获取逻辑删除枚举