마이바티스 매퍼 설정 수정

main
이범준 2 months ago
parent 64416fb4cd
commit 3e7be4daff

@ -31,9 +31,9 @@ public class DatabaseConfig {
@Override @Override
protected String[] mapperLocationPatterns() { protected String[] mapperLocationPatterns() {
return new String[] { return new String[] {
"classpath:sql/mapper/base/*.xml", "classpath*:sql/mapper/base/*.xml",
"classpath:sql/mapper/interfaces/*.xml", "classpath*:sql/mapper/interfaces/*.xml",
"classpath:sql/mapper/fims/**/*.xml", "classpath*:sql/mapper/fims/**/*.xml",
}; };
} }
@ -67,8 +67,8 @@ public class DatabaseConfig {
@Override @Override
protected String[] mapperLocationPatterns() { protected String[] mapperLocationPatterns() {
return new String[] { return new String[] {
"classpath:sql/mapper/base/utility.xml", "classpath*:sql/mapper/base/utility*.xml",
"classpath:sql/mapper/cp/*.xml", "classpath*:sql/mapper/cp/*.xml",
}; };
} }

Loading…
Cancel
Save