From 65ca50935315a89e219b7c974caf95dc28895ffc Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Thu, 16 Oct 2025 08:37:56 +0800
Subject: [PATCH] 修改

---
 hazmat-system/src/main/resources/mapper/system/HzHazmatMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hazmat-system/src/main/resources/mapper/system/HzHazmatMapper.xml b/hazmat-system/src/main/resources/mapper/system/HzHazmatMapper.xml
index eb1576e..53d38b9 100644
--- a/hazmat-system/src/main/resources/mapper/system/HzHazmatMapper.xml
+++ b/hazmat-system/src/main/resources/mapper/system/HzHazmatMapper.xml
@@ -157,12 +157,12 @@
         LEFT JOIN hz_hazmat_flow hhf2 on hh2.id = hhf2.hazmat_id
         LEFT JOIN sys_user sy on hhf2.create_id =  sy.id
         LEFT JOIN sys_dept sd on sy.depart_id = sd.id
-        where hh2.create_time &gt;= #{startTime} and hh2.create_time &lt;= #{endTime} and hh2.state =3 and hhf2.state = 4
+        where hhf2.create_time &gt;= #{startTime} and hhf2.create_time &lt;= #{endTime} and hh2.state =3 and hhf2.state = 4
         <if test="companyId!=null">
             and hh2.company_id=#{companyId}
         </if>
         <if test="userId!=null">
-            and hh2f.create_id = #{userId}
+            and hhf2.create_id = #{userId}
         </if>
         <if test="departId!=null">
             and sd.id = #{departId}

--
Gitblit v1.9.2