From 8d87f13ab4c7539b4f5d0c5ce0ada6838993a2fb Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 17 四月 2025 17:20:32 +0800
Subject: [PATCH] 7.1设备使用记录

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml b/ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml
index 68a9b49..e20a753 100644
--- a/ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml
@@ -20,6 +20,7 @@
         left join user u on i.sender_id = u.id
         left join user u2 on u2.id = i.consignee_id
         where i.consignee_id = #{userId}
+        and i.view_status = false
         order by i.create_time desc
     </select>
 

--
Gitblit v1.9.3