支持通配符扫描任意多个包(无需配置多个包路径),以及防止出现类名重复异常
This commit is contained in:
@ -73,7 +73,7 @@ spring:
|
||||
# MyBatis
|
||||
mybatis:
|
||||
# 搜索指定包别名
|
||||
typeAliasesPackage: com.ruoyi
|
||||
typeAliasesPackage: com.ruoyi.**.domain
|
||||
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
||||
mapperLocations: classpath*:mapper/**/*Mapper.xml
|
||||
# 加载全局的配置文件
|
||||
|
Reference in New Issue
Block a user