From c51323e6fcc84f08bc8c01e3dd6c916427f83f4e Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期四, 07 三月 2024 10:41:50 +0800
Subject: [PATCH] 设备状态长时间未变化算法更新
---
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml
index 10cdba9..357a4b8 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml
@@ -29,7 +29,7 @@
AND t2.equipment_type = #{ vo.equipmentType }
</if>
<if test="vo.driveType != null and vo.driveType != '' ">
- AND t2.drive_type = #{driveType}
+ AND t2.drive_type = #{ vo.driveType }
</if>
<if test="vo.equipmentIdList != null and vo.equipmentIdList.size() > 0 ">
AND t2.equipment_id IN
@@ -70,7 +70,7 @@
AND t2.equipment_type = #{ vo.equipmentType }
</if>
<if test="vo.driveType != null and vo.driveType != '' ">
- AND t2.drive_type = #{driveType}
+ AND t2.drive_type = #{ vo.driveType }
</if>
<if test="vo.equipmentIdList != null and vo.equipmentIdList.size() > 0 ">
AND t2.equipment_id IN
@@ -117,7 +117,7 @@
AND t2.equipment_type = #{ vo.equipmentType }
</if>
<if test="vo.driveType != null and vo.driveType != '' ">
- AND t2.drive_type = #{driveType}
+ AND t2.drive_type = #{ vo.driveType }
</if>
</where>
GROUP BY
--
Gitblit v1.9.3