package com.ots.framework.config; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableAspectJAutoProxy; @Configuration @EnableAspectJAutoProxy(exposeProxy = true) @MapperScan("com.ots.project.**.mapper") public class ApplicationConfig { }