作者 王孝文

扫描mapper文件夹下所有mapper.xml文件

... ... @@ -72,7 +72,7 @@ ribbon:
# mybaits-plus配置
mybatis-plus:
# MyBatis Mapper所对应的XML文件位置
mapper-locations: classpath:/mapper/*Mapper.xml
mapper-locations: classpath:/mapper/**/*Mapper.xml
global-config:
# 自动刷新Mapper对应的XML文件
refresh: true
... ...