| | |
| | | <result property="notifyType" column="notify_type" /> |
| | | <result property="channel" column="channel" /> |
| | | <result property="sendStatus" column="send_status" /> |
| | | <result property="sendContent" column="send_content" /> |
| | | <result property="sendTime" column="send_time" /> |
| | | <result property="sendResult" column="send_result" /> |
| | | <result property="responseMsg" column="response_msg" /> |
| | |
| | | |
| | | <sql id="selectNotifySendLogVo"> |
| | | select id, notify_task_id, task_id, user_id, user_name, notify_type, channel, send_status, |
| | | send_time, send_result, response_msg, retry_count, create_time, create_by, |
| | | send_content, send_time, send_result, response_msg, retry_count, create_time, create_by, |
| | | update_time, update_by, remark |
| | | from sys_notify_send_log |
| | | </sql> |
| | |
| | | <if test="notifyType != null and notifyType != ''">notify_type,</if> |
| | | <if test="channel != null and channel != ''">channel,</if> |
| | | <if test="sendStatus != null">send_status,</if> |
| | | <if test="sendContent != null">send_content,</if> |
| | | <if test="sendTime != null">send_time,</if> |
| | | <if test="sendResult != null">send_result,</if> |
| | | <if test="responseMsg != null">response_msg,</if> |
| | |
| | | <if test="notifyType != null and notifyType != ''">#{notifyType},</if> |
| | | <if test="channel != null and channel != ''">#{channel},</if> |
| | | <if test="sendStatus != null">#{sendStatus},</if> |
| | | <if test="sendContent != null">#{sendContent},</if> |
| | | <if test="sendTime != null">#{sendTime},</if> |
| | | <if test="sendResult != null">#{sendResult},</if> |
| | | <if test="responseMsg != null">#{responseMsg},</if> |
| | |
| | | <if test="notifyType != null and notifyType != ''">notify_type = #{notifyType},</if> |
| | | <if test="channel != null and channel != ''">channel = #{channel},</if> |
| | | <if test="sendStatus != null">send_status = #{sendStatus},</if> |
| | | <if test="sendContent != null">send_content = #{sendContent},</if> |
| | | <if test="sendTime != null">send_time = #{sendTime},</if> |
| | | <if test="sendResult != null">send_result = #{sendResult},</if> |
| | | <if test="retryCount != null">retry_count = #{retryCount},</if> |
| | |
| | | update sys_notify_send_log |
| | | set send_status = #{sendStatus}, |
| | | send_result = #{sendResult}, |
| | | send_content = #{sendContent}, |
| | | send_time = now(), |
| | | update_time = now(), |
| | | retry_count = retry_count + 1 |