[BO] 문자 발송 작업 중 (1)

This commit is contained in:
kangsunlee
2025-07-07 17:49:27 +09:00
parent 3d9c3831de
commit bbebedf1da
35 changed files with 564 additions and 2 deletions

View File

@@ -6,4 +6,30 @@
<select id="createMonthlyInputStatus">
select fn_monthly_input_status()
</select>
<insert id="createSmsAutoSend">
/* createSmsAutoSend : 문자 발송 insert */
INSERT INTO biz_msg
(
MSG_TYPE,
CMID,
REQUEST_TIME,
SEND_TIME,
DEST_PHONE,
SEND_PHONE,
MSG_BODY
)
VALUES
<foreach collection="cmd.sendHouseholds" item="item" separator=",">
(
0,
TO_CHAR(NOW(), 'YYYYMMDDHH24MISS') || '_' || #{item.householdNum},
NOW(),
NOW(),
#{item.phone},
#{item.sendPhone},
#{item.message}
)
</foreach>
</insert>
</mapper>