作者 王孝文

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

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