类 GlobalConfig.DbConfig

  • 封闭类:
    GlobalConfig

    public static class GlobalConfig.DbConfig
    extends java.lang.Object
    • 构造器详细资料

      • DbConfig

        public DbConfig()
    • 方法详细资料

      • getWhereStrategy

        public com.baomidou.mybatisplus.annotation.FieldStrategy getWhereStrategy()
        重写whereStrategy的get方法,适配低版本: - 如果用户自定义了selectStrategy则用用户自定义的, - 后续版本移除selectStrategy后,直接删除该方法即可。
        返回:
        字段作为查询条件时的验证策略
        从以下版本开始:
        3.4.4
      • getIdType

        public com.baomidou.mybatisplus.annotation.IdType getIdType()
      • getTablePrefix

        public java.lang.String getTablePrefix()
      • getSchema

        public java.lang.String getSchema()
      • getColumnFormat

        public java.lang.String getColumnFormat()
      • getPropertyFormat

        public java.lang.String getPropertyFormat()
      • isReplacePlaceholder

        public boolean isReplacePlaceholder()
      • getEscapeSymbol

        public java.lang.String getEscapeSymbol()
      • isTableUnderline

        public boolean isTableUnderline()
      • isCapitalMode

        public boolean isCapitalMode()
      • getKeyGenerators

        public java.util.List<IKeyGenerator> getKeyGenerators()
      • getLogicDeleteField

        public java.lang.String getLogicDeleteField()
      • getLogicDeleteValue

        public java.lang.String getLogicDeleteValue()
      • getLogicNotDeleteValue

        public java.lang.String getLogicNotDeleteValue()
      • getInsertStrategy

        public com.baomidou.mybatisplus.annotation.FieldStrategy getInsertStrategy()
      • getUpdateStrategy

        public com.baomidou.mybatisplus.annotation.FieldStrategy getUpdateStrategy()
      • getSelectStrategy

        @Deprecated
        public com.baomidou.mybatisplus.annotation.FieldStrategy getSelectStrategy()
        已过时。
      • setIdType

        public GlobalConfig.DbConfig setIdType​(com.baomidou.mybatisplus.annotation.IdType idType)
        返回:
        this.
      • setTablePrefix

        public GlobalConfig.DbConfig setTablePrefix​(java.lang.String tablePrefix)
        返回:
        this.
      • setColumnFormat

        public GlobalConfig.DbConfig setColumnFormat​(java.lang.String columnFormat)
        返回:
        this.
      • setPropertyFormat

        public GlobalConfig.DbConfig setPropertyFormat​(java.lang.String propertyFormat)
        返回:
        this.
      • setReplacePlaceholder

        public GlobalConfig.DbConfig setReplacePlaceholder​(boolean replacePlaceholder)
        返回:
        this.
      • setEscapeSymbol

        public GlobalConfig.DbConfig setEscapeSymbol​(java.lang.String escapeSymbol)
        返回:
        this.
      • setTableUnderline

        public GlobalConfig.DbConfig setTableUnderline​(boolean tableUnderline)
        返回:
        this.
      • setLogicDeleteField

        public GlobalConfig.DbConfig setLogicDeleteField​(java.lang.String logicDeleteField)
        返回:
        this.
      • setLogicDeleteValue

        public GlobalConfig.DbConfig setLogicDeleteValue​(java.lang.String logicDeleteValue)
        返回:
        this.
      • setLogicNotDeleteValue

        public GlobalConfig.DbConfig setLogicNotDeleteValue​(java.lang.String logicNotDeleteValue)
        返回:
        this.
      • setInsertStrategy

        public GlobalConfig.DbConfig setInsertStrategy​(com.baomidou.mybatisplus.annotation.FieldStrategy insertStrategy)
        返回:
        this.
      • setUpdateStrategy

        public GlobalConfig.DbConfig setUpdateStrategy​(com.baomidou.mybatisplus.annotation.FieldStrategy updateStrategy)
        返回:
        this.
      • setSelectStrategy

        @Deprecated
        public GlobalConfig.DbConfig setSelectStrategy​(com.baomidou.mybatisplus.annotation.FieldStrategy selectStrategy)
        已过时。
        返回:
        this.
      • setWhereStrategy

        public GlobalConfig.DbConfig setWhereStrategy​(com.baomidou.mybatisplus.annotation.FieldStrategy whereStrategy)
        返回:
        this.
      • equals

        public boolean equals​(java.lang.Object o)
        覆盖:
        equals 在类中 java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 java.lang.Object
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object