jchanghong.autoconfig.SqlAutoConfiguration.kt Maven / Gradle / Ivy
package jchanghong.autoconfig
import jchanghong.autoconfig.db.mybatis.MyBatisPlugin
import jchanghong.log.LogHelper.minfo
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.Import
import javax.annotation.PostConstruct
@EnableConfigurationProperties(SqlAutoConfigurationProperties::class)
@Import(
value = [MyBatisPlugin::class
]
)
open class SqlAutoConfiguration {
@PostConstruct
fun init() {
minfo("jchanghong自动配置启动完成")
}
}