mybatis-更新扫描路径

This commit is contained in:
2025-08-28 18:05:06 +08:00
parent 0c8097fffb
commit 39cdbe2a6d

View File

@@ -34,7 +34,7 @@ import java.util.Properties;
sqlSessionFactoryRef="sqlSessionFactory")
public class MybatisPlusConfig {
private String mapperLocations = "classpath*:*/mappers/*.xml,classpath*:mapper/*.xml,accompany/sqlmappers/*.xml,accompany/oauth/*.xml,mapper/world/*Mapper.xml," +
private String mapperLocations = "classpath*:*/mappers/*.xml,classpath*:mapper/*.xml,classpath*:accompany/sqlmappers/*.xml,accompany/oauth/*.xml,mapper/world/*Mapper.xml," +
"mapper/community/*Mapper.xml,sqlmappers/*.xml,oauth/*.xml,classpath*:/sharding/sqlmappers/*.xml";
/**