From 74205424049d169a8d3bbabb74b4c8c9adf1ec99 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期六, 15 二月 2025 16:05:51 +0800 Subject: [PATCH] 设备列表查询接口修改 --- framework/src/main/resources/mapper/InformationNotificationMapper.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/framework/src/main/resources/mapper/InformationNotificationMapper.xml b/framework/src/main/resources/mapper/InformationNotificationMapper.xml index 3283efe..f0c5549 100644 --- a/framework/src/main/resources/mapper/InformationNotificationMapper.xml +++ b/framework/src/main/resources/mapper/InformationNotificationMapper.xml @@ -8,6 +8,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 DATE(i.create_time) BETWEEN CURDATE() - INTERVAL 7 DAY AND CURDATE() <if test="messageType != '' and messageType != null"> and i.message_type = #{messageType} </if> -- Gitblit v1.9.3