From f7605d8f91c09d44f2372aff6b4671e84ebc6d8b Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 05 八月 2025 09:35:36 +0800 Subject: [PATCH] 能力范围:检验项目导入报错修复 --- ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml | 11 +++++++++++ 1 files changed, 11 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 3936965..e20a753 100644 --- a/ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml @@ -13,4 +13,15 @@ </if> order by i.create_time desc </select> + + <select id="msgRoll" resultType="com.ruoyi.common.core.domain.entity.InformationNotificationDto"> + select i.*, u.name senderUser, u2.name consigneeUser + from information_notification i + 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> + </mapper> -- Gitblit v1.9.3