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

dev
이범준 5 months ago
parent e0e4ac7dca
commit 55afca2ae0

@ -52,7 +52,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" />

@ -95,7 +95,9 @@ DELETE FROM TB_AUTHORITY
<select id="getActionGroupList" parameterType="map" resultType="dataobject">/* 권한-기능그룹 가져오기(authorityMapper.getActionGroups) */
<include refid="utility.paging-prefix" />
SELECT *
SELECT AUTH_ID
, GRP_ID
, REG_DT
FROM TB_AUTH_ACTION
<if test="authIDs != null">WHERE AUTH_ID IN (<foreach collection="authIDs" item="authID" separator=",">#{authID}</foreach>)</if>
ORDER BY AUTH_ID, GRP_ID
@ -135,7 +137,10 @@ SELECT A.AUTH_ID
<sql id="selectAuthUser">
<include refid="utility.paging-prefix" />
SELECT A.*, USER_ACNT
SELECT A.AUTH_ID
, A.USER_ID
, A.REG_DT
, B.USER_ACNT
FROM TB_AUTH_USER A
, TB_USER B
<where>

Loading…
Cancel
Save