|
|
@ -239,7 +239,7 @@ public interface CodeMapper extends AbstractMapper {
|
|
|
|
* @return 그룹별 공통코드
|
|
|
|
* @return 그룹별 공통코드
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
default Map<String, List<CommonCode>> getCodesOf(String... groupIDs) {
|
|
|
|
default Map<String, List<CommonCode>> getCodesOf(String... groupIDs) {
|
|
|
|
List<CommonCode> codes = getCodes(new CodeQuery().setGroupIDs(groupIDs));
|
|
|
|
List<CommonCode> codes = getCodes(new CodeQuery().setGroupIDs(groupIDs).setOrderBy("GRP_ID, SRT_ORD, CODE"));
|
|
|
|
return codes.stream().collect(Collectors.groupingBy(CommonCode::getGroupID));
|
|
|
|
return codes.stream().collect(Collectors.groupingBy(CommonCode::getGroupID));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|