2026-03-21 20:52:33 +08:00
|
|
|
package com.it.rattan;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
2026-03-24 09:41:23 +08:00
|
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
2026-03-21 20:52:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
@ServletComponentScan(basePackages ={"com.it.rattan"})
|
|
|
|
|
@ComponentScan(basePackages ={"com.it.rattan"})
|
2026-03-24 09:41:23 +08:00
|
|
|
@EnableTransactionManagement
|
2026-03-21 20:52:33 +08:00
|
|
|
/*@EnableAsync
|
|
|
|
|
@EnableAspectJAutoProxy*/
|
|
|
|
|
public class SpcCloudApplication {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(SpcCloudApplication.class, args);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|