package com.tievd.cube.config; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; /** * 拓展Component & Mapper扫描 */ @Configuration @ComponentScan("com.tievd.jyz") @MapperScan("com.tievd.jyz.**.mapper*") public class ScanConfig { }