From 60911677cbb7fc45d77748f3d5105ad3b586e78d Mon Sep 17 00:00:00 2001 From: kjh Date: Thu, 4 Jan 2024 10:05:19 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=84=9C=EC=9A=B8=EC=8B=9C=EC=84=A4?= =?UTF-8?q?=EA=B3=B5=EB=8B=A8=20DB=20=EC=B2=98=EB=A6=AC=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/core/spring/config/db/PrimaryMybatisConfig.java | 8 ++++++-- .../xit/core/spring/config/db/SecondaryMybatisConfig.java | 3 +-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/mens-core/src/main/java/kr/xit/core/spring/config/db/PrimaryMybatisConfig.java b/mens-core/src/main/java/kr/xit/core/spring/config/db/PrimaryMybatisConfig.java index 05f37cb..7e12e7d 100644 --- a/mens-core/src/main/java/kr/xit/core/spring/config/db/PrimaryMybatisConfig.java +++ b/mens-core/src/main/java/kr/xit/core/spring/config/db/PrimaryMybatisConfig.java @@ -39,8 +39,12 @@ import org.springframework.jdbc.support.lob.DefaultLobHandler; @MapperScan( basePackages = { "kr.xit.core.**.mapper", - "kr.xit.biz.**.mapper", - "kr.xit.ens.**.mapper", + "kr.xit.biz.cmm.mapper", + "kr.xit.biz.kt.mapper", + "kr.xit.biz.mbl.mapper", + "kr.xit.biz.nice.mapper", + "kr.xit.biz.sisul.mapper", + "kr.xit.ens.**.mapper" }, sqlSessionFactoryRef = Constants.PRIMARY_SQL_SESSION ) diff --git a/mens-core/src/main/java/kr/xit/core/spring/config/db/SecondaryMybatisConfig.java b/mens-core/src/main/java/kr/xit/core/spring/config/db/SecondaryMybatisConfig.java index 38dd54d..7c68190 100644 --- a/mens-core/src/main/java/kr/xit/core/spring/config/db/SecondaryMybatisConfig.java +++ b/mens-core/src/main/java/kr/xit/core/spring/config/db/SecondaryMybatisConfig.java @@ -34,8 +34,7 @@ import org.springframework.core.io.support.PathMatchingResourcePatternResolver; @ConditionalOnProperty(value = "spring.datasource.hikari.secondary.username") @MapperScan( basePackages = { - "kr.xit.biz.sms.mapper", - "kr.xit.biz.other.mapper", + "kr.xit.biz.other.mapper" }, sqlSessionFactoryRef = Constants.SECONDARY_SQL_SESSION )