no message

main
이범준 2 months ago
parent e413053967
commit fe57e23e7a

@ -166,11 +166,23 @@ SELECT A.AUTH_ID
, UPPER(B.USER_ACNT) AS USER_ACNT
, B.USER_NM
, B.ORG_ID
, (SELECT SGG_NM FROM TB_SGG WHERE SGG_CD = B.ORG_ID) AS SGG_NM
, (CASE
WHEN B.ORG_ID = 'ADMIN'
THEN '-'
ELSE (SELECT SGG_NM FROM TB_SGG WHERE SGG_CD = B.ORG_ID)
END) AS SGG_NM
, B.NSTT_CD
, (SELECT INST_NM FROM TB_SGG WHERE SGG_CD = B.ORG_ID) AS INST_NM
, (CASE
WHEN B.ORG_ID = 'ADMIN'
THEN '-'
ELSE (SELECT INST_NM FROM TB_SGG WHERE SGG_CD = B.ORG_ID)
END) AS INST_NM
, B.DEPT_CD
, (SELECT DEPT_NM FROM TB_DEPT WHERE DEPT_CD = B.DEPT_CD) AS DEPT_NM
, (CASE
WHEN B.DEPT_CD = 'ADMIN00'
THEN '-'
ELSE (SELECT DEPT_NM FROM TB_DEPT WHERE DEPT_CD = B.DEPT_CD)
END) AS DEPT_NM
FROM TB_AUTH_USER A
, TB_USER B
<where>

Loading…
Cancel
Save