package com.dy.pmsBase; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.EnableAspectJAutoProxy; @SpringBootApplication @EnableAspectJAutoProxy @ComponentScan(basePackages = {"com.dy.common", "com.dy.pmsGlobal", "com.dy.pmsBase"}) @MapperScan(basePackages={"com.dy.pmsGlobal.daoBa"}) public class PmsBaseApplication { public static void main(String[] args) { SpringApplication.run(PmsBaseApplication.class, args); } }