2025-11-09 22:55:49 +08:00
|
|
|
package com.yfd.business.css;
|
|
|
|
|
|
2025-11-21 10:04:00 +08:00
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
2025-11-09 22:55:49 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
2025-11-21 10:04:00 +08:00
|
|
|
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
2026-03-11 13:55:32 +08:00
|
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
2025-11-09 22:55:49 +08:00
|
|
|
|
2025-11-21 10:04:00 +08:00
|
|
|
@SpringBootApplication(
|
|
|
|
|
scanBasePackages = {
|
|
|
|
|
"com.yfd.platform.config",
|
|
|
|
|
"com.yfd.platform.datasource",
|
|
|
|
|
"com.yfd.platform.exception",
|
|
|
|
|
"com.yfd.platform.system",
|
|
|
|
|
"com.yfd.platform.utils",
|
|
|
|
|
"com.yfd.platform.component",
|
|
|
|
|
"com.yfd.business.css"
|
|
|
|
|
},
|
|
|
|
|
exclude = {DataSourceAutoConfiguration.class, RedisAutoConfiguration.class}
|
|
|
|
|
)
|
2026-03-11 13:55:32 +08:00
|
|
|
@ServletComponentScan(basePackages = {
|
|
|
|
|
"com.yfd.platform.config"
|
|
|
|
|
})
|
2025-11-21 10:04:00 +08:00
|
|
|
@MapperScan(basePackages = {
|
|
|
|
|
"com.yfd.platform.**.mapper",
|
|
|
|
|
"com.yfd.business.css.**.mapper"
|
|
|
|
|
})
|
2025-11-09 22:55:49 +08:00
|
|
|
public class CriticalScenarioApplication {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(CriticalScenarioApplication.class, args);
|
|
|
|
|
}
|
2025-12-17 17:09:58 +08:00
|
|
|
}
|