mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
fix: mapper xml 默认生成路径错误。
This commit is contained in:
parent
572733dccd
commit
93b466505f
@ -218,7 +218,7 @@ public class PackageConfig {
|
|||||||
*/
|
*/
|
||||||
public String getMapperXmlPath() {
|
public String getMapperXmlPath() {
|
||||||
if (StringUtil.isBlank(mapperXmlPath)) {
|
if (StringUtil.isBlank(mapperXmlPath)) {
|
||||||
return getSourceDir().concat("/resources/mapper");
|
return System.getProperty("user.dir").concat("/src/main/resources/mapper");
|
||||||
}
|
}
|
||||||
return mapperXmlPath;
|
return mapperXmlPath;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user