From 8482e4cd91ef440b437cda3c63a02fb63dc67375 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Wed, 28 Jun 2023 13:20:32 +0900 Subject: [PATCH] =?UTF-8?q?CodeMapper.getCodesOf(..)=20orderBy=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/base/code/dao/CodeMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/base/code/dao/CodeMapper.java b/src/main/java/cokr/xit/base/code/dao/CodeMapper.java index 1009746..b70213c 100644 --- a/src/main/java/cokr/xit/base/code/dao/CodeMapper.java +++ b/src/main/java/cokr/xit/base/code/dao/CodeMapper.java @@ -239,7 +239,7 @@ public interface CodeMapper extends AbstractMapper { * @return 그룹별 공통코드 */ default Map> getCodesOf(String... groupIDs) { - List codes = getCodes(new CodeQuery().setGroupIDs(groupIDs)); + List codes = getCodes(new CodeQuery().setGroupIDs(groupIDs).setOrderBy("GRP_ID, SRT_ORD, CODE")); return codes.stream().collect(Collectors.groupingBy(CommonCode::getGroupID)); }