类 GybytMybatisConfig


  • @Configuration
    @ConditionalOnClass(org.apache.ibatis.annotations.Select.class)
    @ConditionalOnBean(GybytMybatisProperties.class)
    public class GybytMybatisConfig
    extends Object
    mybatis配置类
    • 构造器详细资料

      • GybytMybatisConfig

        public GybytMybatisConfig()
    • 方法详细资料

      • gybytMybatisSqlLogInterceptor

        @Bean
        @ConditionalOnProperty(prefix="gybyt.mybatis",
                               name="sql-log",
                               havingValue="true")
        public GybytMybatisSqlLogInterceptor gybytMybatisSqlLogInterceptor()
      • gybytMybatisMapperRefreshPlugin

        @Bean
        @ConditionalOnProperty(prefix="gybyt.mybatis",
                               name="enable-refresh",
                               havingValue="true")
        public void gybytMybatisMapperRefreshPlugin()