All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tmsps.common.config.BaseServiceAutoConfiguration Maven / Gradle / Ivy

package com.tmsps.common.config;

import com.tmsps.ne4spring.base.BaseMySQLService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName BaseServiceAutoConfiguration
 * @description 自动注入Ne4Spring
 * @author geek
 * @date 2020年06月30日 13:54
 */
@Configuration
public class BaseServiceAutoConfiguration {

    @Bean("baseMySQLService")
    @ConditionalOnMissingBean(name="baseMySQLService")
    public BaseMySQLService baseService(){
        return new BaseMySQLService();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy