wlzboy
9 小时以前 5f2ee03958a1a16dc27195c76ea7cffb422c95d1
ruoyi-system/src/main/resources/mapper/system/NotifySendLogMapper.xml
@@ -13,6 +13,7 @@
        <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" />
@@ -26,7 +27,7 @@
    <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>
@@ -102,6 +103,7 @@
            <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>
@@ -120,6 +122,7 @@
            <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>
@@ -141,6 +144,7 @@
            <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>
@@ -155,6 +159,7 @@
        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