mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 06:38:22 +09:00
리스크관리 / 유치채널현황 관리 / 채널관리 추가
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
UPDATE
|
||||
${HUBEZ_COMMON}.EZ_SNDRNO_BLCK
|
||||
SET
|
||||
CHG_ID = #{}
|
||||
CHG_ID = #{chgId}
|
||||
, CHG_DT = NOW()
|
||||
<if test="sndblckTpCd != null and sndblckTpCd != ''">
|
||||
, SNDBLCK_TP_CD = #{sndblckTpCd}
|
||||
@@ -209,7 +209,7 @@
|
||||
emb.SEQ_NO
|
||||
, ebd.WORD
|
||||
, emb.BLCK_YN
|
||||
, DATE_FORMAT(emb.CHG_DT , '%Y-%m-%d') AS CHG_DT
|
||||
, DATE_FORMAT(emb.REG_DT , '%Y-%m-%d') AS LAST_CHG_DT
|
||||
,(
|
||||
SELECT
|
||||
DTL_CD_NM
|
||||
@@ -227,7 +227,7 @@
|
||||
<include refid="msgBlckwordListCondition"/>
|
||||
ORDER BY emb.CHG_DT DESC
|
||||
LIMIT #{page}, #{pagePerRows} ) A
|
||||
,( SELECT @ROWNUM := 7 ) AS R;
|
||||
,( SELECT @ROWNUM := #{page} ) AS R;
|
||||
</select>
|
||||
|
||||
<sql id="msgBlckwordListCondition">
|
||||
@@ -245,11 +245,11 @@
|
||||
<select id="selectMsgBlckwordDetail" parameterType="kr.co.uplus.ez.api.riskMgt.dto.MsgIntrcpDetailReqDto" resultType="kr.co.uplus.ez.api.riskMgt.dto.MsgIntrcpDetail">
|
||||
/* riskMgt-mapper.xml(selectMsgBlckwordDetail) */
|
||||
SELECT
|
||||
emb.SEQ_NO
|
||||
, emb.BLCK_CONT_CD
|
||||
, emb.BLCK_RSN_CD
|
||||
, emb.MEMO
|
||||
, emb.BLCK_YN
|
||||
SEQ_NO
|
||||
, BLCK_CONT_CD
|
||||
, BLCK_RSN_CD
|
||||
, MEMO
|
||||
, BLCK_YN
|
||||
FROM
|
||||
${HUBEZ_COMMON}.EZ_MSG_BLCKWORD emb
|
||||
WHERE emb.SEQ_NO = #{seqNo}
|
||||
@@ -265,11 +265,16 @@
|
||||
WHERE ebd.SEQ_NO = #{seqNo}
|
||||
</select>
|
||||
|
||||
<select id="selectMsgBlckWordSeq" resultType="String">
|
||||
SELECT ${HUBEZ_COMMON}.FUN_NEXT_SEQ('MSG_BLCKWORD_SEQ')
|
||||
</select>
|
||||
|
||||
<insert id="insertMsgBlckword" parameterType="kr.co.uplus.ez.api.riskMgt.dto.MsgInsertIntrcpReqDto">
|
||||
/* riskMgt-mapper.xml(insertMsgBlckword) */
|
||||
INSERT
|
||||
INTO ${HUBEZ_COMMON}.EZ_MSG_BLCKWORD (
|
||||
BLCK_CONT_CD
|
||||
SEQ_NO
|
||||
, BLCK_CONT_CD
|
||||
, BLCK_RSN_CD
|
||||
, BLCK_YN
|
||||
, MEMO
|
||||
@@ -278,29 +283,30 @@
|
||||
, CHG_ID
|
||||
, CHG_DT
|
||||
) VALUES(
|
||||
#{blckContCd}
|
||||
#{seqNo}
|
||||
, #{blckContCd}
|
||||
, #{blckRsnCd}
|
||||
, #{blckYn}
|
||||
, #{memo}
|
||||
, #{regId}
|
||||
, NOW()
|
||||
, #{regId}
|
||||
, NOW())
|
||||
, NOW())
|
||||
</insert>
|
||||
|
||||
<insert id="insertBlckwordDtl" parameterType="java.util.List">
|
||||
/* riskMgt-mapper.xml(insertBlckwordDtl) */
|
||||
INSERT
|
||||
INTO ${HUBEZ_COMMON}.EZ_BLCKWORD_DTL (
|
||||
SEQ_NO
|
||||
SEQ_NO
|
||||
, WORD
|
||||
, REG_ID
|
||||
, REG_DT
|
||||
) VALUES(
|
||||
#{seqNo}
|
||||
, #{word}
|
||||
, #{regId}
|
||||
, NOW())
|
||||
) VALUES
|
||||
<foreach collection="list" item="item" index="i"
|
||||
separator=",">
|
||||
(#{item.seqNo}, #{item.word}, #{item.regId}, NOW() )
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
<update id="updateMsgBlckword" parameterType="kr.co.uplus.ez.api.riskMgt.dto.MsgUpdateIntrcplReqDto">
|
||||
@@ -308,7 +314,7 @@
|
||||
UPDATE
|
||||
${HUBEZ_COMMON}.EZ_MSG_BLCKWORD
|
||||
SET
|
||||
CHG_ID = #{chgId}
|
||||
CHG_ID = #{regId}
|
||||
, CHG_DT = NOW()
|
||||
<if test="blckContCd != null and blckContCd != ''">
|
||||
, BLCK_CONT_CD = #{blckContCd}
|
||||
|
||||
Reference in New Issue
Block a user