|
@@ -7,6 +7,7 @@ import org.springframework.boot.SpringApplication; |
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
|
import org.springframework.context.ApplicationContext; |
|
|
import org.springframework.context.ApplicationContext; |
|
|
import org.springframework.context.annotation.Bean; |
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan; |
|
|
import org.springframework.context.annotation.EnableAspectJAutoProxy; |
|
|
import org.springframework.context.annotation.EnableAspectJAutoProxy; |
|
|
import org.springframework.scheduling.annotation.EnableAsync; |
|
|
import org.springframework.scheduling.annotation.EnableAsync; |
|
|
import org.springframework.scheduling.annotation.EnableScheduling; |
|
|
import org.springframework.scheduling.annotation.EnableScheduling; |
|
@@ -21,6 +22,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; |
|
|
@EnableScheduling |
|
|
@EnableScheduling |
|
|
@EnableTransactionManagement |
|
|
@EnableTransactionManagement |
|
|
@EnableAspectJAutoProxy(exposeProxy = true) |
|
|
@EnableAspectJAutoProxy(exposeProxy = true) |
|
|
|
|
|
@ComponentScan(basePackages = {"com.ningdatech.pmapi", "com.ningdatech.irs"}) |
|
|
public class App { |
|
|
public class App { |
|
|
|
|
|
|
|
|
protected static final String MAPPER_PACKAGES = "com.ningdatech.pmapi.**.mapper"; |
|
|
protected static final String MAPPER_PACKAGES = "com.ningdatech.pmapi.**.mapper"; |
|
|