From 3524526cbdfc4f113aeba70328b5e3ffa6129048 Mon Sep 17 00:00:00 2001 From: chuang <994001556@qq.com> Date: Thu, 9 Feb 2023 17:52:53 +0800 Subject: [PATCH] =?UTF-8?q?MybatisPlusConfig=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/jnpf/database/config/MybatisPlusConfig.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SC-boot/linkage-common/src/main/java/jnpf/database/config/MybatisPlusConfig.java b/SC-boot/linkage-common/src/main/java/jnpf/database/config/MybatisPlusConfig.java index e71ca512..940f44a7 100644 --- a/SC-boot/linkage-common/src/main/java/jnpf/database/config/MybatisPlusConfig.java +++ b/SC-boot/linkage-common/src/main/java/jnpf/database/config/MybatisPlusConfig.java @@ -218,9 +218,10 @@ public class MybatisPlusConfig { public Resource[] resolveMapperLocations() { ResourcePatternResolver resourceResolver = new PathMatchingResourcePatternResolver(); List mapperLocations = new ArrayList<>(); - mapperLocations.add("classpath:mapper/*/*.xml"); +// mapperLocations.add("classpath:mapper/*/*.xml"); mapperLocations.add("classpath*:mapper/**/*.xml"); - mapperLocations.add("classpath:mapper/*/*/*.xml"); + mapperLocations.add("classpath*:mapper/**/**/*.xml"); +// mapperLocations.add("classpath:mapper/*/*/*.xml"); //modified by 巴卫 // mapperLocations.add("classpath*:mapper/**/*.xml"); List resources = new ArrayList();