From 661b819a63e8f85e217a59ac83607497dae1870d Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 8 May 2023 18:14:24 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20sql=20mapper=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=20=EC=9C=84=EC=B9=98=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 3 +- .../spring/service/context-mapper.xml | 12 ++----- .../resources/sql/mapper/base/utility.xml | 33 +++++++++++++++++++ .../cmm/cmm-fims-crackdown-mysql-mapper.xml | 0 .../biz/ec/ec-ctzn-sttemnt-mysql-mapper.xml | 0 .../biz/ec/ec-esb-interface-mysql-mapper.xml | 0 .../ec/ec-extrl-reglt-cntc-mysql-mapper.xml | 0 .../mapper}/biz/ec/ec0100-mysql-mapper.xml | 0 .../mapper}/biz/ec/ec0200-mysql-mapper.xml | 0 .../mapper}/biz/ec/ec0300-mysql-mapper.xml | 0 .../mapper}/biz/ec/ec0400-mysql-mapper.xml | 0 .../mapper}/biz/ec/ec0500-mysql-mapper.xml | 0 .../mapper}/biz/rt/rt-100-mysql-mapper.xml | 0 .../biz/rt/rt-reglt-and-erpp-mysql-mapper.xml | 0 .../mapper}/biz/rt/rt0100-mysql-mapper.xml | 0 .../mapper}/biz/rt/rt0200-mysql-mapper.xml | 0 .../mapper}/biz/rt/rt0300-mysql-mapper.xml | 0 .../mapper}/biz/rt/rt0400-mysql-mapper.xml | 0 .../mapper}/biz/rt/rt0500-mysql-mapper.xml | 0 .../cache/cacheboard-mysql-mapper.xml | 0 .../cache/cachecode-mysql-mapper.xml | 0 .../cache/cachemenu-mysql-mapper.xml | 0 .../cmm/XitFrameCode-mysql-mapper.xml | 0 .../cmm/XitFrameCrud-mysql-mapper.xml | 0 .../cmm/XitFrameFile-mysql-mapper.xml | 0 .../cmm/XitFramePopup-mysql-mapper.xml | 0 .../cmm/XitFrameScheduler-mysql-mapper.xml | 0 .../cmm/XitFrameUnit-mysql-mapper.xml | 0 .../framework/cmm/XitLogin-mysql-mapper.xml | 0 .../framework/cmm/XitMain-mysql-mapper.xml | 0 .../framework/cmm/XitTest-mysql-mapper.xml | 0 .../cmm/cmm-ansTmpl-mysql-mapper.xml | 0 .../framework/cmm/cmm-file-mysql-mapper.xml | 0 .../mng/admin/XitAdminDbMng-mysql-mapper.xml | 0 .../admin/XitConectionLogMng-mysql-mapper.xml | 0 .../XitConectionStatsMng-mysql-mapper.xml | 0 .../auth/XitLoginPolicyMng-mysql-mapper.xml | 0 .../mng/auth/auth-author-mysql-mapper.xml | 0 .../mng/auth/auth-by-user-mysql-mapper.xml | 0 .../mng/auth/auth-grp-mysql-mapper.xml | 0 .../mng/auth/auth-hierarchy-mysql-mapper.xml | 0 .../mng/auth/auth-role-mysql-mapper.xml | 0 .../mng/batch/XitBatchRegMng-mysql-mapper.xml | 0 .../batch/XitBatchResultMng-mysql-mapper.xml | 0 .../XitBatchScheduleMng-mysql-mapper.xml | 0 .../mng/bbs/XitBasicBbsMng-mysql-mapper.xml | 0 .../mng/bbs/XitBbsCreateMng-mysql-mapper.xml | 0 .../mng/bbs/XitBbsTmplateMng-mysql-mapper.xml | 0 .../mng/bbs/XitBbsUseMng-mysql-mapper.xml | 0 .../mng/bbs/board-basic-mysql-mapper.xml | 0 .../mng/bbs/board-mastr-mysql-mapper.xml | 0 .../mng/bbs/board-prcuse-mysql-mapper.xml | 0 .../mng/bbs/board-tmpl-mysql-mapper.xml | 0 .../mng/code/code-cfn-mysql-mapper.xml | 0 .../mng/code/code-dtl-mysql-mapper.xml | 0 .../mng/code/code-grp-mysql-mapper.xml | 0 .../framework/mng/code/zip-mysql-mapper.xml | 0 .../mng/menu/menu-by-role-mysql-mapper.xml | 0 .../framework/mng/menu/menu-mysql-mapper.xml | 0 .../mng/menu/program-mysql-mapper.xml | 0 .../mng/usr/XitEntUserRegMng-mysql-mapper.xml | 0 .../mng/usr/XitGnrUserRegMng-mysql-mapper.xml | 0 .../mng/usr/XitUserAbsntMng-mysql-mapper.xml | 0 .../mng/usr/XitUserEtcOptMng-mysql-mapper.xml | 0 .../framework/mng/usr/user-mysql-mapper.xml | 0 .../mybatis-config.xml} | 3 ++ 66 files changed, 41 insertions(+), 10 deletions(-) create mode 100644 src/main/resources/sql/mapper/base/utility.xml rename src/main/resources/{sqlmapper => sql/mapper}/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/ec/ec-ctzn-sttemnt-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/ec/ec-esb-interface-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/ec/ec-extrl-reglt-cntc-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/ec/ec0100-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/ec/ec0200-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/ec/ec0300-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/ec/ec0400-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/ec/ec0500-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/rt/rt-100-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/rt/rt0100-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/rt/rt0200-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/rt/rt0300-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/rt/rt0400-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/biz/rt/rt0500-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cache/cacheboard-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cache/cachecode-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cache/cachemenu-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitFrameCode-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitFrameCrud-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitFrameFile-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitFramePopup-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitFrameScheduler-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitFrameUnit-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitLogin-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitMain-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/XitTest-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/cmm-ansTmpl-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/cmm/cmm-file-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/admin/XitAdminDbMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/admin/XitConectionStatsMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/auth/XitLoginPolicyMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/auth/auth-author-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/auth/auth-by-user-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/auth/auth-grp-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/auth/auth-hierarchy-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/auth/auth-role-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/batch/XitBatchRegMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/batch/XitBatchResultMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/batch/XitBatchScheduleMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/bbs/XitBbsUseMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/bbs/board-basic-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/bbs/board-mastr-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/bbs/board-prcuse-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/bbs/board-tmpl-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/code/code-cfn-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/code/code-dtl-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/code/code-grp-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/code/zip-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/menu/menu-by-role-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/menu/menu-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/menu/program-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/usr/XitEntUserRegMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/usr/XitGnrUserRegMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/usr/XitUserAbsntMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/usr/XitUserEtcOptMng-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper => sql/mapper}/framework/mng/usr/user-mysql-mapper.xml (100%) rename src/main/resources/{sqlmapper/sql-mapper-config.xml => sql/mybatis-config.xml} (97%) diff --git a/pom.xml b/pom.xml index 88a93366..e08f843e 100644 --- a/pom.xml +++ b/pom.xml @@ -749,7 +749,8 @@ spring/*.xml spring/*/*.xml spring/service/cache/*.xml - sqlmapper/**/* + sql/mybatis-config.xml + sql/mapper/**/* validator/**/* template/**/* templates/thymeleaf/**/* diff --git a/src/main/resources/spring/service/context-mapper.xml b/src/main/resources/spring/service/context-mapper.xml index 68b599b1..e3a3463c 100644 --- a/src/main/resources/spring/service/context-mapper.xml +++ b/src/main/resources/spring/service/context-mapper.xml @@ -2,18 +2,12 @@ - - - - - - - + diff --git a/src/main/resources/sql/mapper/base/utility.xml b/src/main/resources/sql/mapper/base/utility.xml new file mode 100644 index 00000000..b7b73766 --- /dev/null +++ b/src/main/resources/sql/mapper/base/utility.xml @@ -0,0 +1,33 @@ + + + + + + + +SELECT QROWS.* FROM ( + SELECT ROW_NUMBER() OVER() ROW_NUM + , COUNT(*) OVER() TOT_CNT, QBODY.* + FROM ( + + + + ) QBODY + ) QROWS +WHERE ROW_NUM BETWEEN ((#{pageNum} - 1) * #{fetchSize}) + 1 AND (#{pageNum} * #{fetchSize}) + + + + + +ORDER BY ${orderBy} + + + +IFNULL(#{thisDay}, TO_CHAR(CURRENT_DATE, 'YYYYMMDD')) + +SELECTTHIS_DAY + + \ No newline at end of file diff --git a/src/main/resources/sqlmapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/cmm/cmm-fims-crackdown-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/ec/ec-ctzn-sttemnt-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/ec/ec-ctzn-sttemnt-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/ec/ec-ctzn-sttemnt-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/ec/ec-ctzn-sttemnt-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/ec/ec-esb-interface-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/ec/ec-esb-interface-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/ec/ec-esb-interface-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/ec/ec-esb-interface-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/ec/ec-extrl-reglt-cntc-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/ec/ec-extrl-reglt-cntc-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/ec/ec-extrl-reglt-cntc-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/ec/ec-extrl-reglt-cntc-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/ec/ec0100-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/ec/ec0100-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/ec/ec0100-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/ec/ec0100-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/ec/ec0200-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/ec/ec0200-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/ec/ec0200-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/ec/ec0200-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/ec/ec0300-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/ec/ec0300-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/ec/ec0300-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/ec/ec0300-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/ec/ec0400-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/ec/ec0400-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/ec/ec0400-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/ec/ec0400-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/ec/ec0500-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/ec/ec0500-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/ec/ec0500-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/ec/ec0500-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/rt/rt-100-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt-100-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/rt/rt-100-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/rt/rt-100-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/rt/rt-reglt-and-erpp-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/rt/rt0100-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt0100-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/rt/rt0100-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/rt/rt0100-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/rt/rt0200-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt0200-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/rt/rt0200-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/rt/rt0200-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/rt/rt0300-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt0300-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/rt/rt0300-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/rt/rt0300-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/rt/rt0400-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt0400-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/rt/rt0400-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/rt/rt0400-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/biz/rt/rt0500-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/rt/rt0500-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/biz/rt/rt0500-mysql-mapper.xml rename to src/main/resources/sql/mapper/biz/rt/rt0500-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cache/cacheboard-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cache/cacheboard-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cache/cacheboard-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cache/cacheboard-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cache/cachecode-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cache/cachecode-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cache/cachecode-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cache/cachecode-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cache/cachemenu-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cache/cachemenu-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cache/cachemenu-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cache/cachemenu-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitFrameCode-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitFrameCode-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitFrameCode-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitFrameCode-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitFrameCrud-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitFrameCrud-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitFrameCrud-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitFrameCrud-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitFrameFile-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitFrameFile-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitFrameFile-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitFrameFile-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitFramePopup-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitFramePopup-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitFramePopup-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitFramePopup-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitFrameScheduler-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitFrameScheduler-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitFrameScheduler-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitFrameScheduler-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitFrameUnit-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitFrameUnit-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitFrameUnit-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitFrameUnit-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitLogin-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitLogin-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitLogin-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitLogin-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitMain-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitMain-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitMain-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitMain-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/XitTest-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/XitTest-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/XitTest-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/XitTest-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/cmm-ansTmpl-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/cmm/cmm-file-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/cmm/cmm-file-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/cmm/cmm-file-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/cmm/cmm-file-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/admin/XitAdminDbMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/admin/XitAdminDbMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/admin/XitAdminDbMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/admin/XitAdminDbMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/admin/XitConectionLogMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/admin/XitConectionStatsMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/admin/XitConectionStatsMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/admin/XitConectionStatsMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/admin/XitConectionStatsMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/auth/XitLoginPolicyMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/auth/XitLoginPolicyMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/auth/XitLoginPolicyMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/auth/XitLoginPolicyMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/auth/auth-author-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/auth/auth-author-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/auth/auth-author-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/auth/auth-author-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/auth/auth-by-user-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/auth/auth-by-user-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/auth/auth-by-user-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/auth/auth-by-user-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/auth/auth-grp-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/auth/auth-grp-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/auth/auth-grp-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/auth/auth-grp-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/auth/auth-hierarchy-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/auth/auth-hierarchy-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/auth/auth-hierarchy-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/auth/auth-hierarchy-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/auth/auth-role-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/auth/auth-role-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/auth/auth-role-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/auth/auth-role-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/batch/XitBatchRegMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/batch/XitBatchRegMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/batch/XitBatchRegMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/batch/XitBatchRegMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/batch/XitBatchResultMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/batch/XitBatchResultMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/batch/XitBatchResultMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/batch/XitBatchResultMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/batch/XitBatchScheduleMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/batch/XitBatchScheduleMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/batch/XitBatchScheduleMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/batch/XitBatchScheduleMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/bbs/XitBasicBbsMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/bbs/XitBbsCreateMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/bbs/XitBbsTmplateMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/bbs/XitBbsUseMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/XitBbsUseMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/bbs/XitBbsUseMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/bbs/XitBbsUseMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/bbs/board-basic-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/board-basic-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/bbs/board-basic-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/bbs/board-basic-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/bbs/board-mastr-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/board-mastr-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/bbs/board-mastr-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/bbs/board-mastr-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/bbs/board-prcuse-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/board-prcuse-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/bbs/board-prcuse-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/bbs/board-prcuse-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/bbs/board-tmpl-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/bbs/board-tmpl-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/bbs/board-tmpl-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/bbs/board-tmpl-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/code/code-cfn-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/code/code-cfn-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/code/code-cfn-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/code/code-cfn-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/code/code-dtl-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/code/code-dtl-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/code/code-dtl-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/code/code-dtl-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/code/code-grp-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/code/code-grp-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/code/code-grp-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/code/code-grp-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/code/zip-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/code/zip-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/code/zip-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/code/zip-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/menu/menu-by-role-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/menu/menu-by-role-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/menu/menu-by-role-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/menu/menu-by-role-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/menu/menu-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/menu/menu-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/menu/menu-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/menu/menu-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/menu/program-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/menu/program-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/menu/program-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/menu/program-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/usr/XitEntUserRegMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/usr/XitEntUserRegMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/usr/XitEntUserRegMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/usr/XitEntUserRegMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/usr/XitGnrUserRegMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/usr/XitGnrUserRegMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/usr/XitGnrUserRegMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/usr/XitGnrUserRegMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/usr/XitUserAbsntMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/usr/XitUserAbsntMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/usr/XitUserAbsntMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/usr/XitUserAbsntMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/usr/XitUserEtcOptMng-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/usr/XitUserEtcOptMng-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/usr/XitUserEtcOptMng-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/usr/XitUserEtcOptMng-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/framework/mng/usr/user-mysql-mapper.xml b/src/main/resources/sql/mapper/framework/mng/usr/user-mysql-mapper.xml similarity index 100% rename from src/main/resources/sqlmapper/framework/mng/usr/user-mysql-mapper.xml rename to src/main/resources/sql/mapper/framework/mng/usr/user-mysql-mapper.xml diff --git a/src/main/resources/sqlmapper/sql-mapper-config.xml b/src/main/resources/sql/mybatis-config.xml similarity index 97% rename from src/main/resources/sqlmapper/sql-mapper-config.xml rename to src/main/resources/sql/mybatis-config.xml index 35ea7d4d..5da1107b 100644 --- a/src/main/resources/sqlmapper/sql-mapper-config.xml +++ b/src/main/resources/sql/mybatis-config.xml @@ -48,6 +48,7 @@ + @@ -66,6 +67,8 @@ + +