|
|
|
@ -219,8 +219,9 @@ public class MybatisPlusConfig {
|
|
|
|
|
ResourcePatternResolver resourceResolver = new PathMatchingResourcePatternResolver();
|
|
|
|
|
List<String> mapperLocations = new ArrayList<>();
|
|
|
|
|
mapperLocations.add("classpath:mapper/*/*.xml");
|
|
|
|
|
mapperLocations.add("classpath*:mapper/**/*.xml");
|
|
|
|
|
mapperLocations.add("classpath:mapper/*/*/*.xml");
|
|
|
|
|
//modified by 巴卫
|
|
|
|
|
// mapperLocations.add("classpath*:mapper/**/*.xml");
|
|
|
|
|
List<Resource> resources = new ArrayList<Resource>();
|
|
|
|
|
for (String mapperLocation : mapperLocations) {
|
|
|
|
|
try {
|
|
|
|
|