From e0656e2efef08e662eb4d33dafd601ce054597cf Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期五, 29 十二月 2023 15:01:17 +0800
Subject: [PATCH] Merge branch 'master' of http://117.34.109.166:18448/r/mdc_430 into develop

---
 lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml
index 70f146f..e5492b7 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentRunningSectionMapper.xml
@@ -152,6 +152,7 @@
         <where>
             AND t1.status = '22'
             AND t1.alarm = #{ vo.alarmCode }
+            AND (t1.start_time &lt;= #{ endDate } AND t1.end_time &gt;= #{ startDate })
             <if test="vo.equipmentIdList != null and vo.equipmentIdList.size() > 0 ">
                 AND t1.equipment_id IN
                 <foreach collection="vo.equipmentIdList" item="id" index="index" open="(" close=")" separator=",">

--
Gitblit v1.9.3