com.jchanghong.utils.autoconfig.SqlAutoConfiguration.kt Maven / Gradle / Ivy
The newest version!
package com.jchanghong.utils.autoconfig
import com.jchanghong.utils.autoconfig.db.mybatis.MyBatisPlugin
import com.jchanghong.utils.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自动配置启动完成")
}
}