From 09e6dc3fb7266620fafb5e341808a8eb36e080a1 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期六, 13 十二月 2025 22:51:52 +0800
Subject: [PATCH] feat:增加企业微信消息提醒

---
 ruoyi-system/src/main/resources/mapper/system/NotifySendLogMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/NotifySendLogMapper.xml b/ruoyi-system/src/main/resources/mapper/system/NotifySendLogMapper.xml
index 636a623..baf4fa9 100644
--- a/ruoyi-system/src/main/resources/mapper/system/NotifySendLogMapper.xml
+++ b/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

--
Gitblit v1.9.1