mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2026-01-27 23:30:47 +09:00
merge test
This commit is contained in:
@@ -1309,6 +1309,17 @@
|
|||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
<select id="selectChargeAmt" parameterType="kr.co.uplus.ez.api.custMgt.dto.TargetSubsInfoDto" resultType="bigdecimal">
|
||||||
|
SELECT
|
||||||
|
IFNULL(SUM(CHRG_AMT),0) AS CHRG_AMT
|
||||||
|
FROM
|
||||||
|
hubez_admin.EZ_CHARGE_MNG
|
||||||
|
WHERE
|
||||||
|
USER_SEQ = #{userSeq}
|
||||||
|
AND USE_YN = 'Y'
|
||||||
|
AND #{limitYm} BETWEEN STRT_YM AND END_YM
|
||||||
|
</select>
|
||||||
|
|
||||||
<update id="updateChrgAmt" parameterType= "kr.co.uplus.ez.api.custMgt.dto.ChrgAmtDto">
|
<update id="updateChrgAmt" parameterType= "kr.co.uplus.ez.api.custMgt.dto.ChrgAmtDto">
|
||||||
UPDATE
|
UPDATE
|
||||||
hubez_admin.EZ_USER_LMT eul
|
hubez_admin.EZ_USER_LMT eul
|
||||||
@@ -1523,4 +1534,137 @@
|
|||||||
ORDER BY eci.CUST_SEQ DESC
|
ORDER BY eci.CUST_SEQ DESC
|
||||||
</select>
|
</select>
|
||||||
-->
|
-->
|
||||||
|
<select id="selectUserInfo" parameterType="String" resultType="kr.co.uplus.ez.api.custMgt.dto.SvcUserInfo">
|
||||||
|
/* custMgt-mapper.xml(selectUserInfo) */
|
||||||
|
SELECT
|
||||||
|
USER_SEQ, HP_NO
|
||||||
|
FROM
|
||||||
|
hubez_common.EZ_SVC_USER
|
||||||
|
WHERE
|
||||||
|
USER_ID = #{userId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectSequence" parameterType="String" resultType="String">
|
||||||
|
/* extCarryOverAmtNoti.selectSequence -- sequence 채번 일반 */
|
||||||
|
SELECT hubez_common.FUN_NEXT_SEQ(#{seqKey})
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectNotiSeq" resultType="String">
|
||||||
|
/* extCarryOverAmtNoti.selectNotiSeq 노티 알림 시퀀스 채번 */
|
||||||
|
SELECT hubez_common.FUN_NEXT_SEQ('NOTI_SEQ') AS notiSeq
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<insert id="insertWebMsgCli" parameterType="kr.co.uplus.ez.api.custMgt.dto.WebMsgCliDto">
|
||||||
|
/* extCarryOverAmtNoti.insertWebMsgCli - 메시지 원장 등록 */
|
||||||
|
INSERT INTO
|
||||||
|
<if test="tableName == 'EZ_MSG_NORMAL'">
|
||||||
|
hubez_send.EZ_MSG_NORMAL
|
||||||
|
</if>
|
||||||
|
<if test="tableName == 'EZ_MSG_REAL'">
|
||||||
|
hubez_send.EZ_MSG_REAL
|
||||||
|
</if>
|
||||||
|
(
|
||||||
|
CLIENT_KEY,
|
||||||
|
REQ_PRODUCT,
|
||||||
|
TRAFFIC_TYPE,
|
||||||
|
MSG_STATUS,
|
||||||
|
REQ_DATE,
|
||||||
|
MSG_BIZ_KEY,
|
||||||
|
TEMPLATE_CODE,
|
||||||
|
SEND_GROUP_KEY,
|
||||||
|
CALLBACK_NUMBER,
|
||||||
|
DEPT_CODE,
|
||||||
|
MSG,
|
||||||
|
PHONE,
|
||||||
|
MERGE_DATA,
|
||||||
|
TITLE,
|
||||||
|
FILE_LIST,
|
||||||
|
FB_PRODUCT,
|
||||||
|
FB_TITLE,
|
||||||
|
FB_MSG,
|
||||||
|
FB_FILE_ID,
|
||||||
|
RCS_MSGBASE_ID,
|
||||||
|
RCS_HEADER,
|
||||||
|
RCS_FOOTER,
|
||||||
|
RCS_COPY_ALLOWED,
|
||||||
|
RCS_EXPIRY_OPTION,
|
||||||
|
RCS_AGENCY_ID,
|
||||||
|
RCS_BUTTON,
|
||||||
|
KAKAO_SENDER_KEY,
|
||||||
|
KAKAO_TEMPLATE_KEY,
|
||||||
|
KAKAO_BUTTON,
|
||||||
|
KAKAO_IMAGE_WIDE_YN,
|
||||||
|
KAKAO_IMAGE_URL,
|
||||||
|
KAKAO_IMAGE_LINK,
|
||||||
|
PUSH_APP_ID,
|
||||||
|
PUSH_PROVIDER,
|
||||||
|
PUSH_APP_USER_ID,
|
||||||
|
WEB_REQ_ID,
|
||||||
|
ORDER_ID
|
||||||
|
)
|
||||||
|
VALUES
|
||||||
|
(
|
||||||
|
#{clientKey},
|
||||||
|
#{reqProduct},
|
||||||
|
#{trafficType},
|
||||||
|
#{msgStatus},
|
||||||
|
NOW(),
|
||||||
|
#{msgBizKey},
|
||||||
|
#{templateCode},
|
||||||
|
#{sendGroupKey},
|
||||||
|
#{callbackNumber},
|
||||||
|
#{deptCode},
|
||||||
|
#{msg},
|
||||||
|
#{phone},
|
||||||
|
#{mergeData},
|
||||||
|
'충전금액알림',
|
||||||
|
#{fileList},
|
||||||
|
#{fbProduct},
|
||||||
|
#{fbTitle},
|
||||||
|
#{fbMsg},
|
||||||
|
#{fbFileId},
|
||||||
|
#{rcsMsgbaseId},
|
||||||
|
#{rcsHeader},
|
||||||
|
#{rcsFooter},
|
||||||
|
#{rcsCopyAllowed},
|
||||||
|
#{rcsExpiryOption},
|
||||||
|
#{rcsAgencyId},
|
||||||
|
#{rcsButton},
|
||||||
|
#{kakaoSenderKey},
|
||||||
|
#{kakaoTemplateKey},
|
||||||
|
#{kakaoButton},
|
||||||
|
#{kakaoImageWideYn},
|
||||||
|
#{kakaoImageUrl},
|
||||||
|
#{kakaoImageLink},
|
||||||
|
#{pushAppId},
|
||||||
|
#{pushProvider},
|
||||||
|
#{pushAppUserId},
|
||||||
|
#{webReqId},
|
||||||
|
#{orderId}
|
||||||
|
)
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<insert id="insertNotiHst" parameterType="kr.co.uplus.ez.api.custMgt.dto.NotiHistDto">
|
||||||
|
/* extCarryOverAmtNoti.insertNotiHst - 알림 이력 등록 */
|
||||||
|
INSERT INTO hubez_common.EZ_NOTI_HIST
|
||||||
|
(
|
||||||
|
SND_YMD,
|
||||||
|
USER_SEQ,
|
||||||
|
NOTI_SEQ,
|
||||||
|
NOTI_DIV,
|
||||||
|
NOTI_MSG,
|
||||||
|
WEB_REQ_ID,
|
||||||
|
REG_DT
|
||||||
|
)
|
||||||
|
VALUES
|
||||||
|
(
|
||||||
|
DATE_FORMAT(NOW(), '%Y%m%d'),
|
||||||
|
#{userSeq},
|
||||||
|
#{notiSeq},
|
||||||
|
'04',
|
||||||
|
#{notiMsg},
|
||||||
|
#{webReqId},
|
||||||
|
NOW()
|
||||||
|
)
|
||||||
|
</insert>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user