From ed48aa9f30a87c528f071d06bf6b59d7d15428e9 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期一, 26 五月 2025 16:12:55 +0800
Subject: [PATCH] 点检报表后端

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml
index 5a63a2b..0768753 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/StreamMapper.xml
@@ -6,15 +6,19 @@
         from mom_eam_stream t1
         left join sys_user t2 on t2.id = t1.create_by
         where 1=1
+        <if test="num != null and num != ''">
+            and t1.num like concat('%',#{num},'%')
+        </if>
         <choose>
             <when test="areaId != null and areaId != ''">
                 and t2.area_id = #{areaId}
             </when>
-            <otherwise>
-                and t2.area_id = '-1'
-            </otherwise>
-        </choose>
 
+        </choose>
+        ORDER BY t1.create_time desc
     </select>
+<!--    <otherwise>-->
+<!--        and t2.area_id = '-1'-->
+<!--    </otherwise>-->
 
 </mapper>

--
Gitblit v1.9.3