Mapper 所对应的 XML 文件 增加默认值

Signed-off-by: lhzsdnu <2383376138@qq.com>
This commit is contained in:
lhzsdnu 2023-04-27 01:28:37 +00:00 committed by Gitee
parent 33dc9cc594
commit 9e7bedd02e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -58,7 +58,7 @@ public class MybatisFlexProperties {
/** /**
* Locations of MyBatis mapper files. * Locations of MyBatis mapper files.
*/ */
private String[] mapperLocations; private String[] mapperLocations = new String[]{"classpath*:/mapper/**/*.xml"};
/** /**
* Packages to search type aliases. (Package delimiters are ",; \t\n") * Packages to search type aliases. (Package delimiters are ",; \t\n")