발신번호 등록 수정

This commit is contained in:
2023-05-10 20:22:57 +09:00
parent a7278ab9c0
commit 3fca450dbc
4 changed files with 93 additions and 47 deletions

View File

@@ -654,30 +654,6 @@
<select id="selectSndnoDocList" parameterType="kr.co.uplus.ez.api.sendNumMgt.dto.SendNumberApprDetailReqDto" resultType="kr.co.uplus.ez.api.sendNumMgt.dto.SendNumberApprDoc">
/* sendNumMgt-mapper.xml(selectSndnoDocList) */
SELECT
DOC_TP_CD AS docTpCd,
DOC_TITLE AS docTitle,
FILE_NM AS fileNm,
FILE_PATH AS filePath,
FILE_SIZE AS fileSize
FROM
hubez_common.EZ_SNDRNO_DOC
WHERE
REG_REQ_NO =
(
SELECT
REG_REQ_NO
FROM
hubez_common.EZ_SNDRNO_REG
WHERE
USER_SEQ = (SELECT USER_SEQ FROM hubez_common.EZ_SNDRNO_REG WHERE REG_REQ_NO = #{regReqNo})
AND REQ_STTUS_CD = '02'
AND APV_CNT > 0
ORDER BY REG_REQ_NO ASC
LIMIT 1
)
AND DOC_TP_CD IN ('06', '07', '13', '14')
UNION
SELECT
DOC_TP_CD AS docTpCd,
DOC_TITLE AS docTitle,