@SpringBootApplication(scanBasePackages = {}, exclude = {})
指定扫描模块
@DisableDefaultUseCaches
@ImportResource(locations = “classpath:spring/*.xml”)
指定配置路径
@MapperScan(basePackages=“com.sankuai.mall.sqm.dao.mapper”)
指定Mybatis的mapper
@SpringBootApplication(scanBasePackages = {}, exclude = {})
指定扫描模块
@DisableDefaultUseCaches
@ImportResource(locations = “classpath:spring/*.xml”)
指定配置路径
@MapperScan(basePackages=“com.sankuai.mall.sqm.dao.mapper”)
指定Mybatis的mapper