From 3d98a5d6dcc2e1f9b59a89570fa086548366ed72 Mon Sep 17 00:00:00 2001
From: 李旭东 <woaiguo66@sina.com>
Date: 星期五, 27 十月 2023 15:50:42 +0800
Subject: [PATCH] 环境监测和焊接烟尘增加

---
 hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml b/hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml
index 9690b58..94c0c00 100644
--- a/hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml
+++ b/hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml
@@ -547,6 +547,9 @@
          sm_time as smTime
          from t_helmet_report where
         user_id=#{userId}
+      <if test="strTime!=null and strTime!='' and endTime!=null and endTime!='' ">
+        and sm_time between #{strTime} and #{endTime}
+      </if>
         order by sm_time desc
   </select>
 

--
Gitblit v1.9.3