From bc7d9c98bc1b23ef6ef29ed4a6313753f6900640 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期二, 14 五月 2024 02:25:01 +0800
Subject: [PATCH] 费用统计查询修复; 检验下单字段调整; 下单进度查询修改; 执行优化去掉多余模板内容; 报告生成删除试验方法; 修改报告表格列宽; 修改报告删除列的统计方法

---
 framework/src/main/resources/mapper/InformationNotificationMapper.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/framework/src/main/resources/mapper/InformationNotificationMapper.xml b/framework/src/main/resources/mapper/InformationNotificationMapper.xml
index 8141046..3283efe 100644
--- a/framework/src/main/resources/mapper/InformationNotificationMapper.xml
+++ b/framework/src/main/resources/mapper/InformationNotificationMapper.xml
@@ -3,12 +3,14 @@
 <mapper namespace="com.yuanchu.mom.mapper.InformationNotificationMapper">
 
     <select id="getPage" resultType="com.yuanchu.mom.pojo.InformationNotificationDto">
-        select i.*, u.name senderUser, u2.name consigneeUserr
+        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}
         <if test="messageType != '' and messageType != null">
-            where i.message_type = #{messageType}
+            and i.message_type = #{messageType}
         </if>
+        order by i.create_time desc
     </select>
 </mapper>

--
Gitblit v1.9.3