SELECT 쿼리 애스터리스크(*) 제거

main
이범준 5 months ago
parent 35e91886d9
commit a5eef36655

@ -65,7 +65,10 @@ DELETE FROM TB_ACTION_GRP
<select id="getActionList" parameterType="map" resultType="dataobject">
/* 그룹별 기능 가져오기(actionGroupMapper.getActionList) */
<include refid="utility.paging-prefix" />
SELECT *
SELECT GRP_ID
, ACTION
, REG_DT
, RGTR
FROM TB_GRP_ACTION
<if test="groupIDs != null">WHERE GRP_ID IN (<foreach collection="groupIDs" item="groupID" separator=",">#{groupID}</foreach>)</if>
<include refid="utility.orderBy" />

@ -108,7 +108,9 @@ DELETE FROM TB_AUTHORITY
<select id="getActionGroupList" parameterType="map" resultType="dataobject">
/* 권한-기능그룹 가져오기(authorityMapper.getActionGroups) */
<include refid="utility.paging-prefix" />
SELECT A.*
SELECT A.AUTH_ID
, A.GRP_ID
, A.REG_DT
, (SELECT AG.GRP_NM FROM TB_ACTION_GRP AG WHERE AG.GRP_ID = A.GRP_ID) AS GRP_NM
FROM TB_AUTH_ACTION A
<if test="authIDs != null">WHERE AUTH_ID IN (<foreach collection="authIDs" item="authID" separator=",">#{authID}</foreach>)</if>
@ -154,7 +156,9 @@ SELECT A.AUTH_ID
<sql id="selectAuthUser">
<include refid="utility.paging-prefix" />
SELECT A.*
SELECT A.AUTH_ID
, A.USER_ID
, A.REG_DT
, B.USER_ACNT
, B.USER_NM
, B.ORG_ID

Loading…
Cancel
Save