diff --git a/src/main/java/cokr/xit/base/security/access/service/bean/ActionGroupBean.java b/src/main/java/cokr/xit/base/security/access/service/bean/ActionGroupBean.java index 3d73140..f0d7c73 100644 --- a/src/main/java/cokr/xit/base/security/access/service/bean/ActionGroupBean.java +++ b/src/main/java/cokr/xit/base/security/access/service/bean/ActionGroupBean.java @@ -103,6 +103,7 @@ public class ActionGroupBean extends AbstractComponent { * @return 기능 목록 */ public List getActionList(ActionQuery req) { + req.setOrderBy("GRP_ID, ACTION"); return actionGroupMapper.getActionList(req); } diff --git a/src/main/resources/sql/mapper/actiongroup-mapper.xml b/src/main/resources/sql/mapper/actiongroup-mapper.xml index f42bb2e..14ea855 100644 --- a/src/main/resources/sql/mapper/actiongroup-mapper.xml +++ b/src/main/resources/sql/mapper/actiongroup-mapper.xml @@ -48,11 +48,12 @@ DELETE FROM TB_ACTION_GRP WHERE GRP_ID IN (#{groupID}) + + /* 그룹별 기능 추가(actionGroupMapper.addActions) */ INSERT INTO TB_GRP_ACTION (GRP_ID, ACTION, REG_DT, RGTR)