From 40a8157440e3b906da8f52e07d939d78c3f4c313 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 12 四月 2026 16:14:06 +0800
Subject: [PATCH] feat: 任务增加统计、同步增加通知

---
 ruoyi-system/src/main/resources/mapper/system/NotifyTaskMapper.xml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/NotifyTaskMapper.xml b/ruoyi-system/src/main/resources/mapper/system/NotifyTaskMapper.xml
index be01049..3a11590 100644
--- a/ruoyi-system/src/main/resources/mapper/system/NotifyTaskMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/NotifyTaskMapper.xml
@@ -73,6 +73,11 @@
         where task_id = #{taskId} and user_id = #{userId} and notify_type = #{notifyType}
     </select>
 
+    <select id="selectByTaskIdAndType" resultMap="NotifyTaskResult">
+        <include refid="selectNotifyTaskVo"/>
+        where task_id = #{taskId} and notify_type = #{notifyType}
+    </select>
+
     <insert id="insertNotifyTask" parameterType="NotifyTask" useGeneratedKeys="true" keyProperty="id">
         insert into sys_notify_task (
             task_id, task_code, notify_type, user_id, user_name, user_phone,

--
Gitblit v1.9.1