From 5864e92e24a5fee0a5fed15b505933ac10df5cf4 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期三, 19 三月 2025 17:53:21 +0800 Subject: [PATCH] 1.零件绑定 2.给对象绑定车间 3.检验对象导入模板讨论及联调导入功能 4.检验对象查询优化 --- ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml | 10 ++++++++++ 1 files changed, 10 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..68a9b49 100644 --- a/ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/InformationNotificationMapper.xml @@ -13,4 +13,14 @@ </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} + order by i.create_time desc + </select> + </mapper> -- Gitblit v1.9.3