mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 08:22:24 +09:00
TC 수정 반영
This commit is contained in:
@@ -323,6 +323,7 @@
|
||||
<select id="selectAuthDetail"
|
||||
parameterType="kr.co.uplus.ez.api.sysMgt.dto.AuthDetailReqDto"
|
||||
resultType="kr.co.uplus.ez.api.sysMgt.dto.AuthDetail">
|
||||
/* sysMgt-mapper.xml(selectAuthDetail) */
|
||||
SELECT
|
||||
AUT_CD AS authCd
|
||||
,AUT_NM AS authNm
|
||||
@@ -338,6 +339,7 @@
|
||||
<select id="selectAuthMemuList"
|
||||
parameterType="kr.co.uplus.ez.api.sysMgt.dto.AuthDetailReqDto"
|
||||
resultType="kr.co.uplus.ez.api.sysMgt.dto.AuthMenu">
|
||||
/* sysMgt-mapper.xml(selectAuthMemuList) */
|
||||
SELECT
|
||||
T2.MENU_NO AS menuNo
|
||||
,T3.PRNTS_MENU_NO AS upperMenuNo
|
||||
@@ -352,6 +354,23 @@
|
||||
WHERE T2.AUT_CD = #{authCd}
|
||||
</select>
|
||||
|
||||
<select id="checkAdmin" parameterType="hashMap" resultType="int">
|
||||
/* sysMgt-mapper.xml(checkAdminId) */
|
||||
SELECT
|
||||
COUNT(*)
|
||||
FROM
|
||||
hubez_admin.EZ_ADM_USER eau
|
||||
WHERE 1=1
|
||||
<if test="searchType != null and searchType != ''">
|
||||
<if test="searchType == '01' ">
|
||||
AND OPRTR_ID = #{adminId}
|
||||
</if>
|
||||
<if test="searchType == '02' ">
|
||||
AND AUT_CD = #{authCd}
|
||||
</if>
|
||||
</if>
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user