From 801b7d11f1ce9b49f35af7eec572143662c4daf4 Mon Sep 17 00:00:00 2001
From: baizonghao <1719256278@qq.com>
Date: 星期五, 24 二月 2023 21:21:19 +0800
Subject: [PATCH] 统计报警时间,查询空指针

---
 ycl-platform/src/main/resources/mapper/equipment/HandheldTerminalMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/equipment/HandheldTerminalMapper.xml b/ycl-platform/src/main/resources/mapper/equipment/HandheldTerminalMapper.xml
index a140cfb..6247fc7 100644
--- a/ycl-platform/src/main/resources/mapper/equipment/HandheldTerminalMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/equipment/HandheldTerminalMapper.xml
@@ -32,7 +32,7 @@
         LEFT JOIN ums_depart p on d.parent_id = p.id
         <where>
             <if test="state!=null">
-                ht.state = #{carNum}
+                ht.state = #{state}
             </if>
         </where>
         order by ht.id desc

--
Gitblit v1.8.0